File tree 2 files changed +2
-2
lines changed
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 {}
633
633
/// This trait is automatically implemented for almost every type.
634
634
///
635
635
/// [`mem::replace`]: ../../std/mem/fn.replace.html
636
- /// [`Pin<P>`]: ../pin/struct.Pin.html
636
+ /// [`Pin<P>`]: ../pin/struct.Pin.html
637
637
/// [`pin module`]: ../../std/pin/index.html
638
638
#[ stable( feature = "pin" , since = "1.33.0" ) ]
639
639
#[ cfg_attr( not( stage0) , lang = "unpin" ) ]
Original file line number Diff line number Diff line change 53
53
//! cancels the effect of [`Pin<P>`]. For `T: Unpin`, `Pin<Box<T>>` and `Box<T>` function
54
54
//! identically, as do `Pin<&mut T>` and `&mut T`.
55
55
//!
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
57
57
//! type `P` itself that got wrapped in `Pin<P>`. For example, whether or not `Box<T>` is
58
58
//! `Unpin` has no effect on the behavior of `Pin<Box<T>>` (here, `T` is the
59
59
//! pointed-to type).
You can’t perform that action at this time.
0 commit comments