tweaks and fix weird space
This commit is contained in:
parent
e61a8a94f7
commit
2db0e0d65c
@ -633,7 +633,7 @@ unsafe impl<T: ?Sized> Freeze for &mut T {}
|
||||
/// This trait is automatically implemented for almost every type.
|
||||
///
|
||||
/// [`mem::replace`]: ../../std/mem/fn.replace.html
|
||||
/// [`Pin<P>`]: ../pin/struct.Pin.html
|
||||
/// [`Pin<P>`]: ../pin/struct.Pin.html
|
||||
/// [`pin module`]: ../../std/pin/index.html
|
||||
#[stable(feature = "pin", since = "1.33.0")]
|
||||
#[cfg_attr(not(stage0), lang = "unpin")]
|
||||
|
@ -53,7 +53,7 @@
|
||||
//! cancels the effect of [`Pin<P>`]. For `T: Unpin`, `Pin<Box<T>>` and `Box<T>` function
|
||||
//! identically, as do `Pin<&mut T>` and `&mut T`.
|
||||
//!
|
||||
//! Note that pinning and `Unpin` only affect the pointed-to type, not the pointer
|
||||
//! Note that pinning and `Unpin` only affect the pointed-to type `P::Target`, not the pointer
|
||||
//! type `P` itself that got wrapped in `Pin<P>`. For example, whether or not `Box<T>` is
|
||||
//! `Unpin` has no effect on the behavior of `Pin<Box<T>>` (here, `T` is the
|
||||
//! pointed-to type).
|
||||
|
Loading…
Reference in New Issue
Block a user