We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c6091f commit f243f92Copy full SHA for f243f92
src/libcore/convert.rs
@@ -141,9 +141,9 @@ pub trait AsRef<T: ?Sized> {
141
///
142
/// # Generic Implementations
143
144
-/// - `AsMut` auto-dereferences if the inner type is a reference or a mutable
145
-/// reference (e.g.: `foo.as_ref()` will work the same if `foo` has type
146
-/// `&mut Foo` or `&&mut Foo`)
+/// - `AsMut` auto-dereferences if the inner type is a mutable reference
+/// (e.g.: `foo.as_mut()` will work the same if `foo` has type `&mut Foo`
+/// or `&mut &mut Foo`)
147
148
/// # Examples
149
0 commit comments