about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2018-05-07 14:30:29 +0200
committerRalf Jung <post@ralfj.de>2018-05-07 14:30:29 +0200
commit939c25a522ddeaae60f905c787a1f28ceb5d7ee8 (patch)
treeccb1519978e8d87033b65af893e39200966560f8
parent8619e19dc485185fee09baebf5788e427d0036e9 (diff)
downloadrust-939c25a522ddeaae60f905c787a1f28ceb5d7ee8.tar.gz
rust-939c25a522ddeaae60f905c787a1f28ceb5d7ee8.zip
Unpin: Fix references to Pin type
-rw-r--r--src/libcore/marker.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index c074adfd570..db5f50a99ca 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -595,15 +595,15 @@ unsafe impl<T: ?Sized> Freeze for *mut T {}
 unsafe impl<'a, T: ?Sized> Freeze for &'a T {}
 unsafe impl<'a, T: ?Sized> Freeze for &'a mut T {}
 
-/// Types which can be moved out of a `Pin`.
+/// Types which can be moved out of a `PinMut`.
 ///
-/// The `Unpin` trait is used to control the behavior of the [`Pin`] type. If a
+/// The `Unpin` trait is used to control the behavior of the [`PinMut`] type. If a
 /// type implements `Unpin`, it is safe to move a value of that type out of the
-/// `Pin` pointer.
+/// `PinMut` pointer.
 ///
 /// This trait is automatically implemented for almost every type.
 ///
-/// [`Pin`]: ../mem/struct.Pin.html
+/// [`PinMut`]: ../mem/struct.PinMut.html
 #[unstable(feature = "pin", issue = "49150")]
 pub unsafe auto trait Unpin {}