We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01af120 + 86d5cb4 commit 71c365cCopy full SHA for 71c365c
src/libcore/ops/deref.rs
@@ -109,7 +109,7 @@ impl<T: ?Sized> Deref for &mut T {
109
/// then:
110
///
111
/// * In mutable contexts, `*x` on non-pointer types is equivalent to
112
-/// `*Deref::deref(&x)`.
+/// `*DerefMut::deref_mut(&mut x)`.
113
/// * Values of type `&mut T` are coerced to values of type `&mut U`
114
/// * `T` implicitly implements all the (mutable) methods of the type `U`.
115
0 commit comments