about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2017-02-10 15:12:59 -0500
committerSteve Klabnik <steve@steveklabnik.com>2017-02-13 13:41:24 -0500
commit7f1d1c6d9a7be5e427bace30e740b16b25f25c92 (patch)
treeb7425e4b7d51eeee32281f9429edd91fe28cb64e /src/liballoc
parent775726092eaa4d0e0e397e9032467c2d1d06ed37 (diff)
downloadrust-7f1d1c6d9a7be5e427bace30e740b16b25f25c92.tar.gz
rust-7f1d1c6d9a7be5e427bace30e740b16b25f25c92.zip
Fix up links
mdbook and rustdoc generate links differently, so we need to change all
these links.
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 38d843263ff..210917b68a2 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/method-syntax.html#Associated%20functions
 ///
 /// # Examples
 ///
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 6108a06634b..a874e938a40 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/method-syntax.html#Associated%20functions
 //! [mutability]: ../../std/cell/index.html#introducing-mutability-inside-of-something-immutable
 
 #![stable(feature = "rust1", since = "1.0.0")]