about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-22 19:57:51 +0100
committerGitHub <noreply@github.com>2019-11-22 19:57:51 +0100
commita699945ead1d14eec0bba7186703c6715c4ed804 (patch)
tree7feca639052982b849365c6cdd403a9da57df3ed /src
parent3031720d8fe850073ff3cf9509ae22eb2d2a3978 (diff)
parentda5539cf7c55c46fda21a5fed8e003785b964a0e (diff)
Rollup merge of #66619 - guanqun:use-third-person-singular-verb, r=Centril
follow the convention in this file to use third-person singular verbs
Diffstat (limited to 'src')
-rw-r--r--src/libcore/iter/traits/iterator.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/iter/traits/iterator.rs b/src/libcore/iter/traits/iterator.rs
index b7a35568e3f..61e8b07511a 100644
--- a/src/libcore/iter/traits/iterator.rs
+++ b/src/libcore/iter/traits/iterator.rs
@@ -1255,7 +1255,7 @@ pub trait Iterator {
         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 @@ pub trait Iterator {
         (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.
     ///