about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/marker.rs4
-rw-r--r--src/libcore/pin.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index 191634a9930..dd57d2dd009 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -632,9 +632,9 @@ unsafe impl<'a, T: ?Sized> Freeze for &'a mut T {}
 ///
 /// This trait is automatically implemented for almost every type.
 ///
-/// [`replace`]: ../../core/mem/fn.replace.html
+/// [`replace`]: ../../std/mem/fn.replace.html
 /// [`PinMut`]: ../pin/struct.PinMut.html
-/// [`pin module`]: ../../alloc/pin/index.html
+/// [`pin module`]: ../../std/pin/index.html
 #[unstable(feature = "pin", issue = "49150")]
 pub auto trait Unpin {}
 
diff --git a/src/libcore/pin.rs b/src/libcore/pin.rs
index 380330d2eb1..65057dfdace 100644
--- a/src/libcore/pin.rs
+++ b/src/libcore/pin.rs
@@ -29,8 +29,8 @@ use ops::{Deref, DerefMut, CoerceUnsized};
 ///
 /// See the [`pin` module] documentation for furthur explanation on pinning.
 ///
-/// [`Unpin`]: ../../core/marker/trait.Unpin.html
-/// [`pin` module]: ../../alloc/pin/index.html
+/// [`Unpin`]: ../../std/marker/trait.Unpin.html
+/// [`pin` module]: ../../std/pin/index.html
 #[unstable(feature = "pin", issue = "49150")]
 #[fundamental]
 pub struct PinMut<'a, T: ?Sized + 'a> {