Skip to content

Commit 939c25a

Browse files
committed
Unpin: Fix references to Pin type
1 parent 8619e19 commit 939c25a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libcore/marker.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -595,15 +595,15 @@ unsafe impl<T: ?Sized> Freeze for *mut T {}
595595
unsafe impl<'a, T: ?Sized> Freeze for &'a T {}
596596
unsafe impl<'a, T: ?Sized> Freeze for &'a mut T {}
597597

598-
/// Types which can be moved out of a `Pin`.
598+
/// Types which can be moved out of a `PinMut`.
599599
///
600-
/// The `Unpin` trait is used to control the behavior of the [`Pin`] type. If a
600+
/// The `Unpin` trait is used to control the behavior of the [`PinMut`] type. If a
601601
/// type implements `Unpin`, it is safe to move a value of that type out of the
602-
/// `Pin` pointer.
602+
/// `PinMut` pointer.
603603
///
604604
/// This trait is automatically implemented for almost every type.
605605
///
606-
/// [`Pin`]: ../mem/struct.Pin.html
606+
/// [`PinMut`]: ../mem/struct.PinMut.html
607607
#[unstable(feature = "pin", issue = "49150")]
608608
pub unsafe auto trait Unpin {}
609609

0 commit comments

Comments
 (0)