We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b88007 commit 32a9614Copy full SHA for 32a9614
src/libcore/pin.rs
@@ -15,8 +15,8 @@
15
//! moving the values they contain: you can move out of a `Box<T>`, or you can use [`mem::swap`].
16
//! [`Pin<P>`] wraps a pointer type `P`, so `Pin<Box<T>>` functions much like a regular `Box<T>`:
17
//! 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
+//! Similarily, `Pin<&mut T>` is a lot like `&mut T`. However, [`Pin<P>`] does not let clients
+//! actually obtain a `Box<T>` or `&mut T` to pinned data, which implies that you cannot use
20
//! operations such as [`mem::swap`]:
21
//! ```
22
//! use std::pin::Pin;
0 commit comments