]> git.lizzy.rs Git - rust.git/commitdiff
s/Perform/Performs/
authorAndrew Paseltiner <apaseltiner@gmail.com>
Sat, 4 Apr 2015 14:26:14 +0000 (10:26 -0400)
committerAndrew Paseltiner <apaseltiner@gmail.com>
Sat, 4 Apr 2015 14:26:14 +0000 (10:26 -0400)
Per [RFC #0505](https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#formatting).

src/libcore/convert.rs

index 4a99f1a756a7c3e8ac31317a0a2eee8374fc06d3..85b648bbd59806072fcb1555a26a12255cedd6b7 100644 (file)
@@ -21,7 +21,7 @@
 /// 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;
 }