]> git.lizzy.rs Git - rust.git/commitdiff
follow the convention in this file to use third-person singular verbs
authorGuanqun Lu <guanqun.lu@gmail.com>
Fri, 22 Nov 2019 07:33:49 +0000 (15:33 +0800)
committerGuanqun Lu <guanqun.lu@gmail.com>
Fri, 22 Nov 2019 07:37:11 +0000 (15:37 +0800)
src/libcore/iter/traits/iterator.rs

index b7a35568e3fc52a1beb20dab004ab969e14b3c0d..61e8b07511a6741f0f86993ea0907db9f1a55d3d 100644 (file)
@@ -1255,7 +1255,7 @@ fn fuse(self) -> Fuse<Self> where Self: Sized {
         Fuse::new(self)
     }
 
-    /// Do something with each element of an iterator, passing the value on.
+    /// Does something with each element of an iterator, passing the value on.
     ///
     /// When using iterators, you'll often chain several of them together.
     /// While working on such code, you might want to check out what's
@@ -1548,7 +1548,7 @@ fn extend<'a, T, B: Extend<T>>(
         (left, right)
     }
 
-    /// Reorder the elements of this iterator *in-place* according to the given predicate,
+    /// Reorders the elements of this iterator *in-place* according to the given predicate,
     /// such that all those that return `true` precede all those that return `false`.
     /// Returns the number of `true` elements found.
     ///