Skip to content

Commit

Permalink
Auto merge of #22044 - caspark:fix-rc-doc-links, r=nikomatsakis
Browse files Browse the repository at this point in the history
Current link structure is /std/rc/struct.Rc.html so ../index.html ends
up linking to /std/ rather than /std/rc/
  • Loading branch information
bors committed Feb 8, 2015
2 parents 74b8740 + 684e43e commit f16de18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/liballoc/rc.rs
Expand Up @@ -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> {
Expand Down Expand Up @@ -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.")]
Expand Down

0 comments on commit f16de18

Please sign in to comment.