about summary refs log tree commit diff
path: root/src/libcore/ops
diff options
context:
space:
mode:
authormatthewjasper <mjjasper1@gmail.com>2017-12-09 13:50:07 +0000
committermatthewjasper <mjjasper1@gmail.com>2017-12-09 13:50:07 +0000
commitd755be69e8617544d1e382d690b97917bdede419 (patch)
treec9818a4aa18cee227292f3a7db53b2aa10fc55fe /src/libcore/ops
parent6537fd184eff31220eda42712a13f48684e8463a (diff)
downloadrust-d755be69e8617544d1e382d690b97917bdede419.tar.gz
rust-d755be69e8617544d1e382d690b97917bdede419.zip
Use a better link for method resolution in Deref docs
Diffstat (limited to 'src/libcore/ops')
-rw-r--r--src/libcore/ops/deref.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/ops/deref.rs b/src/libcore/ops/deref.rs
index 80c48c7b28e..4ce0740130b 100644
--- a/src/libcore/ops/deref.rs
+++ b/src/libcore/ops/deref.rs
@@ -35,13 +35,13 @@
 ///
 /// For more details, visit [the chapter in *The Rust Programming Language*]
 /// [book] as well as the reference sections on [the dereference operator]
-/// [ref-deref-op], [the `Deref` trait][ref-deref-trait], and [type coercions].
+/// [ref-deref-op], [method resolution] and [type coercions].
 ///
 /// [book]: ../../book/second-edition/ch15-02-deref.html
 /// [`DerefMut`]: trait.DerefMut.html
 /// [more]: #more-on-deref-coercion
 /// [ref-deref-op]: ../../reference/expressions/operator-expr.html#the-dereference-operator
-/// [ref-deref-trait]: ../../reference/the-deref-trait.html
+/// [method resolution]: ../../reference/expressions/method-call-expr.html
 /// [type coercions]: ../../reference/type-coercions.html
 ///
 /// # Examples
@@ -122,13 +122,13 @@ impl<'a, T: ?Sized> Deref for &'a mut T {
 ///
 /// For more details, visit [the chapter in *The Rust Programming Language*]
 /// [book] as well as the reference sections on [the dereference operator]
-/// [ref-deref-op], [the `Deref` trait][ref-deref-trait], and [type coercions].
+/// [ref-deref-op], [method resolution] and [type coercions].
 ///
 /// [book]: ../../book/second-edition/ch15-02-deref.html
 /// [`Deref`]: trait.Deref.html
 /// [more]: #more-on-deref-coercion
 /// [ref-deref-op]: ../../reference/expressions/operator-expr.html#the-dereference-operator
-/// [ref-deref-trait]: ../../reference/the-deref-trait.html
+/// [method resolution]: ../../reference/expressions/method-call-expr.html
 /// [type coercions]: ../../reference/type-coercions.html
 ///
 /// # Examples