diff options
| author | Guanqun Lu <guanqun.lu@gmail.com> | 2019-11-22 15:33:49 +0800 |
|---|---|---|
| committer | Guanqun Lu <guanqun.lu@gmail.com> | 2019-11-22 15:37:11 +0800 |
| commit | da5539cf7c55c46fda21a5fed8e003785b964a0e (patch) | |
| tree | ab81c4a2d3c82902943a503a3c674cc075897abc | |
| parent | bd816fd76f4f7a040ca7ac8ca5bc556d761f96fa (diff) | |
| download | rust-da5539cf7c55c46fda21a5fed8e003785b964a0e.tar.gz rust-da5539cf7c55c46fda21a5fed8e003785b964a0e.zip | |
follow the convention in this file to use third-person singular verbs
| -rw-r--r-- | src/libcore/iter/traits/iterator.rs | 4 |
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. /// |
