diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 48421abc7bbdf..e68f973d8d940 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -71,8 +71,8 @@ use result::Result; /// /// # Generic Impls /// -/// - `AsRef` auto-dereference if the inner type is a reference or a mutable -/// reference (eg: `foo.as_ref()` will work the same if `foo` has type `&mut Foo` or `&&mut Foo`) +/// - `AsRef` auto-dereferences if the inner type is a reference or a mutable +/// reference (e.g.: `foo.as_ref()` will work the same if `foo` has type `&mut Foo` or `&&mut Foo`) /// #[stable(feature = "rust1", since = "1.0.0")] pub trait AsRef { @@ -88,8 +88,8 @@ pub trait AsRef { /// /// # Generic Impls /// -/// - `AsMut` auto-dereference if the inner type is a reference or a mutable -/// reference (eg: `foo.as_ref()` will work the same if `foo` has type `&mut Foo` or `&&mut Foo`) +/// - `AsMut` auto-dereferences if the inner type is a reference or a mutable +/// reference (e.g.: `foo.as_ref()` will work the same if `foo` has type `&mut Foo` or `&&mut Foo`) /// #[stable(feature = "rust1", since = "1.0.0")] pub trait AsMut {