Skip to content

Commit 436c9be

Browse files
Fix links in Deref documentation
1 parent 02f5786 commit 436c9be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/libcore/ops/deref.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
/// * Values of type `&T` are coerced to values of type `&U`
2424
/// * `T` implicitly implements all the (immutable) methods of the type `U`.
2525
///
26-
/// For more details, visit [the chapter in *The Rust Programming Language*]
27-
/// [book] as well as the reference sections on [the dereference operator]
28-
/// [ref-deref-op], [method resolution] and [type coercions].
26+
/// For more details, visit [the chapter in *The Rust Programming Language*][book]
27+
/// as well as the reference sections on [the dereference operator][ref-deref-op],
28+
/// [method resolution] and [type coercions].
2929
///
3030
/// [book]: ../../book/ch15-02-deref.html
3131
/// [`DerefMut`]: trait.DerefMut.html
@@ -113,9 +113,9 @@ impl<T: ?Sized> Deref for &mut T {
113113
/// * Values of type `&mut T` are coerced to values of type `&mut U`
114114
/// * `T` implicitly implements all the (mutable) methods of the type `U`.
115115
///
116-
/// For more details, visit [the chapter in *The Rust Programming Language*]
117-
/// [book] as well as the reference sections on [the dereference operator]
118-
/// [ref-deref-op], [method resolution] and [type coercions].
116+
/// For more details, visit [the chapter in *The Rust Programming Language*][book]
117+
/// as well as the reference sections on [the dereference operator][ref-deref-op],
118+
/// [method resolution] and [type coercions].
119119
///
120120
/// [book]: ../../book/ch15-02-deref.html
121121
/// [`Deref`]: trait.Deref.html

0 commit comments

Comments
 (0)