about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCaspar Krieger <caspar@asparck.com>2015-02-07 21:45:13 +1100
committerCaspar Krieger <caspar@asparck.com>2015-02-07 21:45:13 +1100
commit684e43e712d1e58799cd81f55e56ff4361108564 (patch)
tree1506904dd22c51c384156e36decdb281366446ec /src
parente62fec36b97882b2e24bddae41ee025a75688bd7 (diff)
downloadrust-684e43e712d1e58799cd81f55e56ff4361108564.tar.gz
rust-684e43e712d1e58799cd81f55e56ff4361108564.zip
Fix broken link to std::rc module docs
Current link structure is /std/rc/struct.Rc.html so ../index.html ends
up linking to /std/ rather than /std/rc/
Diffstat (limited to 'src')
-rw-r--r--src/liballoc/rc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 614fe094e30..54ff4c18654 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -172,7 +172,7 @@ struct RcBox<T> {
 
 /// An immutable reference-counted pointer type.
 ///
-/// See the [module level documentation](../index.html) for more details.
+/// See the [module level documentation](./index.html) for more details.
 #[unsafe_no_drop_flag]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct Rc<T> {
@@ -624,7 +624,7 @@ impl<T: fmt::Debug> fmt::Debug for Rc<T> {
 ///
 /// Weak references do not count when determining if the inner value should be dropped.
 ///
-/// See the [module level documentation](../index.html) for more.
+/// See the [module level documentation](./index.html) for more.
 #[unsafe_no_drop_flag]
 #[unstable(feature = "alloc",
            reason = "Weak pointers may not belong in this module.")]