about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorsteveklabnik <steve@steveklabnik.com>2017-03-15 12:13:55 -0400
committersteveklabnik <steve@steveklabnik.com>2017-03-20 10:10:16 -0400
commitd1d9626e7577546585f216f8ee11be824b374f78 (patch)
tree0dae348bce2a4a3b88de5f5192084d99f25b15e2 /src/liballoc
parentc0e7b16f61e159cb1d4ed9be6e0dc822a02a0a56 (diff)
downloadrust-d1d9626e7577546585f216f8ee11be824b374f78.tar.gz
rust-d1d9626e7577546585f216f8ee11be824b374f78.zip
Fix up various links
The unstable book, libstd, libcore, and liballoc all needed some
adjustment.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs2
-rw-r--r--src/liballoc/rc.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 1d616233881..28f6d97756f 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -102,7 +102,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
 /// [downgrade]: struct.Arc.html#method.downgrade
 /// [upgrade]: struct.Weak.html#method.upgrade
 /// [`None`]: ../../std/option/enum.Option.html#variant.None
-/// [assoc]: ../../book/method-syntax.html#associated-functions
+/// [assoc]: ../../book/first-edition/method-syntax.html#associated-functions
 ///
 /// # Examples
 ///
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index e9b59017692..561ccaa5ef5 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -215,7 +215,7 @@
 //! [downgrade]: struct.Rc.html#method.downgrade
 //! [upgrade]: struct.Weak.html#method.upgrade
 //! [`None`]: ../../std/option/enum.Option.html#variant.None
-//! [assoc]: ../../book/method-syntax.html#associated-functions
+//! [assoc]: ../../book/first-edition/method-syntax.html#associated-functions
 //! [mutability]: ../../std/cell/index.html#introducing-mutability-inside-of-something-immutable
 
 #![stable(feature = "rust1", since = "1.0.0")]