about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-02-08 02:30:09 +0000
committerbors <bors@rust-lang.org>2015-02-08 02:30:09 +0000
commitf16de18db448ca5de45bff90579990259518e1fc (patch)
treea4bf54308250fa033a7bda26a98fc7d9b41bc7ae /src/liballoc
parent74b8740719c1b427f79b67d6bc51e9d448dd9c49 (diff)
parent684e43e712d1e58799cd81f55e56ff4361108564 (diff)
downloadrust-f16de18db448ca5de45bff90579990259518e1fc.tar.gz
rust-f16de18db448ca5de45bff90579990259518e1fc.zip
Auto merge of #22044 - caspark:fix-rc-doc-links, r=nikomatsakis
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/liballoc')
-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.")]