From da5539cf7c55c46fda21a5fed8e003785b964a0e Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Fri, 22 Nov 2019 15:33:49 +0800 Subject: [PATCH] follow the convention in this file to use third-person singular verbs --- src/libcore/iter/traits/iterator.rs | 4 ++-- 1 file 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 @@ fn fuse(self) -> Fuse 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>( (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. /// -- 2.44.0