File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -611,6 +611,7 @@ unsafe impl<'a, T: ?Sized> Freeze for &'a mut T {}
611
611
/// Instead it can be used to prevent moves through the type system,
612
612
/// by controlling the behavior of special pointer types like [`PinMut`],
613
613
/// which "pin" the type in place by not allowing it to be moved out of them.
614
+ /// See the [`pin module`] documentation for more information on pinning.
614
615
///
615
616
/// Implementing this trait lifts the restrictions of pinning off a type,
616
617
/// which then allows it to move out with functions such as [`replace`].
@@ -632,6 +633,7 @@ unsafe impl<'a, T: ?Sized> Freeze for &'a mut T {}
632
633
///
633
634
/// [`replace`]: ../../core/mem/fn.replace.html
634
635
/// [`PinMut`]: ../pin/struct.PinMut.html
636
+ /// [`pin module`]: ../../alloc/pin/index.html
635
637
#[ unstable( feature = "pin" , issue = "49150" ) ]
636
638
pub auto trait Unpin { }
637
639
You can’t perform that action at this time.
0 commit comments