File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ unsafe impl<T: ?Sized> Freeze for &mut T {}
633633/// This trait is automatically implemented for almost every type.
634634///
635635/// [`mem::replace`]: ../../std/mem/fn.replace.html
636- /// [`Pin<P>`]: ../pin/struct.Pin.html
636+ /// [`Pin<P>`]: ../pin/struct.Pin.html
637637/// [`pin module`]: ../../std/pin/index.html
638638#[ stable( feature = "pin" , since = "1.33.0" ) ]
639639#[ cfg_attr( not( stage0) , lang = "unpin" ) ]
Original file line number Diff line number Diff line change 5353//! cancels the effect of [`Pin<P>`]. For `T: Unpin`, `Pin<Box<T>>` and `Box<T>` function
5454//! identically, as do `Pin<&mut T>` and `&mut T`.
5555//!
56- //! Note that pinning and `Unpin` only affect the pointed-to type, not the pointer
56+ //! Note that pinning and `Unpin` only affect the pointed-to type `P::Target` , not the pointer
5757//! type `P` itself that got wrapped in `Pin<P>`. For example, whether or not `Box<T>` is
5858//! `Unpin` has no effect on the behavior of `Pin<Box<T>>` (here, `T` is the
5959//! pointed-to type).
You can’t perform that action at this time.
0 commit comments