Skip to content

Commit d755be6

Browse files
committed
Use a better link for method resolution in Deref docs
1 parent 6537fd1 commit d755be6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libcore/ops/deref.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
///
3636
/// For more details, visit [the chapter in *The Rust Programming Language*]
3737
/// [book] as well as the reference sections on [the dereference operator]
38-
/// [ref-deref-op], [the `Deref` trait][ref-deref-trait], and [type coercions].
38+
/// [ref-deref-op], [method resolution] and [type coercions].
3939
///
4040
/// [book]: ../../book/second-edition/ch15-02-deref.html
4141
/// [`DerefMut`]: trait.DerefMut.html
4242
/// [more]: #more-on-deref-coercion
4343
/// [ref-deref-op]: ../../reference/expressions/operator-expr.html#the-dereference-operator
44-
/// [ref-deref-trait]: ../../reference/the-deref-trait.html
44+
/// [method resolution]: ../../reference/expressions/method-call-expr.html
4545
/// [type coercions]: ../../reference/type-coercions.html
4646
///
4747
/// # Examples
@@ -122,13 +122,13 @@ impl<'a, T: ?Sized> Deref for &'a mut T {
122122
///
123123
/// For more details, visit [the chapter in *The Rust Programming Language*]
124124
/// [book] as well as the reference sections on [the dereference operator]
125-
/// [ref-deref-op], [the `Deref` trait][ref-deref-trait], and [type coercions].
125+
/// [ref-deref-op], [method resolution] and [type coercions].
126126
///
127127
/// [book]: ../../book/second-edition/ch15-02-deref.html
128128
/// [`Deref`]: trait.Deref.html
129129
/// [more]: #more-on-deref-coercion
130130
/// [ref-deref-op]: ../../reference/expressions/operator-expr.html#the-dereference-operator
131-
/// [ref-deref-trait]: ../../reference/the-deref-trait.html
131+
/// [method resolution]: ../../reference/expressions/method-call-expr.html
132132
/// [type coercions]: ../../reference/type-coercions.html
133133
///
134134
/// # Examples

0 commit comments

Comments
 (0)