This commit is contained in:
Ralf Jung 2019-02-21 17:18:18 +01:00
parent 32a9614a4e
commit 811af4289c

View File

@ -602,7 +602,7 @@ unsafe impl<T: ?Sized> Freeze for &mut T {}
/// this trait cannot prevent types from moving by itself.
///
/// Instead it is used to prevent moves through the type system,
/// by controlling the behavior of pointers wrapped in the [`Pin`] wrapper,
/// by controlling the behavior of pointers `P` wrapped in the [`Pin<P>`] wrapper,
/// which "pin" the type in place by not allowing it to be moved out of them.
/// See the [`pin module`] documentation for more information on pinning.
///