Skip to content

Commit fc6c638

Browse files
committed
Fix documentation links.
1 parent 85e8a9b commit fc6c638

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/libcore/borrow.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
/// The companion trait [`BorrowMut`] provides the same guarantees for
3838
/// mutable references.
3939
///
40-
/// [`Box<T>`]: ../boxed/struct.Box.html
41-
/// [`Rc<T>`]: ../rc/struct.Rc.html
42-
/// [`Vec<T>`]: ../vec/struct.Vec.html
43-
/// [`AsRef`]: ../convert/trait.AsRef.html
40+
/// [`Box<T>`]: ../../std/boxed/struct.Box.html
41+
/// [`Rc<T>`]: ../../std/rc/struct.Rc.html
42+
/// [`Vec<T>`]: ../../std/vec/struct.Vec.html
43+
/// [`AsRef`]: ../../std/convert/trait.AsRef.html
4444
/// [`BorrowMut`]: trait.BorrowMut.html
4545
///
4646
/// # Examples
@@ -144,10 +144,10 @@
144144
/// others access to the underlying `str`, it can do that via `AsRef<str>`
145145
/// which doesn’t carry any such restrictions.
146146
///
147-
/// [`Hash`]: ../hash/trait.Hash.html
148-
/// [`HashMap<K, V>`]: ../collections/struct.HashMap.html
149-
/// [`String`]: ../string/struct.String.html
150-
/// [`str`]: ../primitive.str.html
147+
/// [`Hash`]: ../../std/hash/trait.Hash.html
148+
/// [`HashMap<K, V>`]: ../../std/collections/struct.HashMap.html
149+
/// [`String`]: ../../std/string/struct.String.html
150+
/// [`str`]: ../../std/primitive.str.html
151151
///
152152
#[stable(feature = "rust1", since = "1.0.0")]
153153
pub trait Borrow<Borrowed: ?Sized> {

0 commit comments

Comments
 (0)