about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorNiv Kaminer <nivkner@zoho.com>2018-08-23 01:16:35 +0300
committerNiv Kaminer <nivkner@zoho.com>2018-08-23 10:16:58 +0300
commitb26cce5ec045391d5d38e46c32aae30439b4560f (patch)
tree3c8a47fbab363c58a5d9cfa6e1b9718072bf8162 /src/libcore
parent3683bf279d5f27ff1bdeb6e0359f9140679526ba (diff)
downloadrust-b26cce5ec045391d5d38e46c32aae30439b4560f.tar.gz
rust-b26cce5ec045391d5d38e46c32aae30439b4560f.zip
link to items in pin module to std docs
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> {