diff options
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ops/deref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops/deref.rs b/src/libcore/ops/deref.rs index 075c3a084f4..bec3a155c18 100644 --- a/src/libcore/ops/deref.rs +++ b/src/libcore/ops/deref.rs @@ -109,7 +109,7 @@ impl<T: ?Sized> Deref for &mut T { /// then: /// /// * In mutable contexts, `*x` on non-pointer types is equivalent to -/// `*Deref::deref(&x)`. +/// `*DerefMut::deref_mut(&mut x)`. /// * Values of type `&mut T` are coerced to values of type `&mut U` /// * `T` implicitly implements all the (mutable) methods of the type `U`. /// |
