Skip to content

Commit 32a9614

Browse files
committed
this is for you, tidy
1 parent 6b88007 commit 32a9614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/pin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
//! moving the values they contain: you can move out of a `Box<T>`, or you can use [`mem::swap`].
1616
//! [`Pin<P>`] wraps a pointer type `P`, so `Pin<Box<T>>` functions much like a regular `Box<T>`:
1717
//! when a `Pin<Box<T>>` gets dropped, so do its contents, and the memory gets deallocated.
18-
//! Similarily, `Pin<&mut T>` is a lot like `&mut T`. However, [`Pin<P>`] does not let clients actually
19-
//! obtain a `Box<T>` or `&mut T` to pinned data, which implies that you cannot use
18+
//! Similarily, `Pin<&mut T>` is a lot like `&mut T`. However, [`Pin<P>`] does not let clients
19+
//! actually obtain a `Box<T>` or `&mut T` to pinned data, which implies that you cannot use
2020
//! operations such as [`mem::swap`]:
2121
//! ```
2222
//! use std::pin::Pin;

0 commit comments

Comments
 (0)