|
23 | 23 | /// * Values of type `&T` are coerced to values of type `&U`
|
24 | 24 | /// * `T` implicitly implements all the (immutable) methods of the type `U`.
|
25 | 25 | ///
|
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]. |
29 | 29 | ///
|
30 | 30 | /// [book]: ../../book/ch15-02-deref.html
|
31 | 31 | /// [`DerefMut`]: trait.DerefMut.html
|
@@ -113,9 +113,9 @@ impl<T: ?Sized> Deref for &mut T {
|
113 | 113 | /// * Values of type `&mut T` are coerced to values of type `&mut U`
|
114 | 114 | /// * `T` implicitly implements all the (mutable) methods of the type `U`.
|
115 | 115 | ///
|
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]. |
119 | 119 | ///
|
120 | 120 | /// [book]: ../../book/ch15-02-deref.html
|
121 | 121 | /// [`Deref`]: trait.Deref.html
|
|
0 commit comments