diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/convert.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 4a99f1a756a..85b648bbd59 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -21,7 +21,7 @@ use marker::Sized; /// A cheap, reference-to-reference conversion. #[stable(feature = "rust1", since = "1.0.0")] pub trait AsRef<T: ?Sized> { - /// Perform the conversion. + /// Performs the conversion. #[stable(feature = "rust1", since = "1.0.0")] fn as_ref(&self) -> &T; } @@ -29,7 +29,7 @@ pub trait AsRef<T: ?Sized> { /// A cheap, mutable reference-to-mutable reference conversion. #[stable(feature = "rust1", since = "1.0.0")] pub trait AsMut<T: ?Sized> { - /// Perform the conversion. + /// Performs the conversion. #[stable(feature = "rust1", since = "1.0.0")] fn as_mut(&mut self) -> &mut T; } @@ -38,7 +38,7 @@ pub trait AsMut<T: ?Sized> { /// expensive. #[stable(feature = "rust1", since = "1.0.0")] pub trait Into<T>: Sized { - /// Perform the conversion. + /// Performs the conversion. #[stable(feature = "rust1", since = "1.0.0")] fn into(self) -> T; } @@ -46,7 +46,7 @@ pub trait Into<T>: Sized { /// Construct `Self` via a conversion. #[stable(feature = "rust1", since = "1.0.0")] pub trait From<T> { - /// Perform the conversion. + /// Performs the conversion. #[stable(feature = "rust1", since = "1.0.0")] fn from(T) -> Self; } |
