Skip to content

Commit 97a9507

Browse files
committed
Fix links to module-level documentation in std::cell
Replace links to `../index.html` with `index.html` as they are linking to the `std` module and not `std::cell` as intended.
1 parent 0ba9e1f commit 97a9507

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libcore/cell.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -151,7 +151,7 @@ use option::Option::{None, Some};
151151

152152
/// A mutable memory location that admits only `Copy` data.
153153
///
154-
/// See the [module-level documentation](../index.html) for more.
154+
/// See the [module-level documentation](index.html) for more.
155155
#[stable(feature = "rust1", since = "1.0.0")]
156156
pub struct Cell<T> {
157157
value: UnsafeCell<T>,
@@ -259,7 +259,7 @@ impl<T:PartialEq + Copy> PartialEq for Cell<T> {
259259

260260
/// A mutable memory location with dynamically checked borrow rules
261261
///
262-
/// See the [module-level documentation](../index.html) for more.
262+
/// See the [module-level documentation](index.html) for more.
263263
#[stable(feature = "rust1", since = "1.0.0")]
264264
pub struct RefCell<T> {
265265
value: UnsafeCell<T>,
@@ -534,7 +534,7 @@ impl<'b> Clone for BorrowRef<'b> {
534534
/// Wraps a borrowed reference to a value in a `RefCell` box.
535535
/// A wrapper type for an immutably borrowed value from a `RefCell<T>`.
536536
///
537-
/// See the [module-level documentation](../index.html) for more.
537+
/// See the [module-level documentation](index.html) for more.
538538
#[stable(feature = "rust1", since = "1.0.0")]
539539
pub struct Ref<'b, T:'b> {
540540
// FIXME #12808: strange name to try to avoid interfering with
@@ -595,7 +595,7 @@ impl<'b> BorrowRefMut<'b> {
595595

596596
/// A wrapper type for a mutably borrowed value from a `RefCell<T>`.
597597
///
598-
/// See the [module-level documentation](../index.html) for more.
598+
/// See the [module-level documentation](index.html) for more.
599599
#[stable(feature = "rust1", since = "1.0.0")]
600600
pub struct RefMut<'b, T:'b> {
601601
// FIXME #12808: strange name to try to avoid interfering with

0 commit comments

Comments
 (0)