diff options
| author | bors <bors@rust-lang.org> | 2015-04-05 02:47:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-05 02:47:13 +0000 |
| commit | f73f3233f10e506ec41c17126e66953ed6996feb (patch) | |
| tree | 63c2cb01cf10ef49bf7280974a73f368f4d7235b | |
| parent | 083b8a40413eb3dfec7430150b8895f6c8bbafca (diff) | |
| parent | 2d198955d329904cbd54531e6f404a5648ace19f (diff) | |
| download | rust-f73f3233f10e506ec41c17126e66953ed6996feb.tar.gz rust-f73f3233f10e506ec41c17126e66953ed6996feb.zip | |
Auto merge of #24067 - apasel422:patch-1, r=Gankro
Per [RFC #0505](https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#formatting).
| -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; } |
