Skip to content

Commit da5539c

Browse files
author
Guanqun Lu
committed
follow the convention in this file to use third-person singular verbs
1 parent bd816fd commit da5539c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/iter/traits/iterator.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ pub trait Iterator {
12551255
Fuse::new(self)
12561256
}
12571257

1258-
/// Do something with each element of an iterator, passing the value on.
1258+
/// Does something with each element of an iterator, passing the value on.
12591259
///
12601260
/// When using iterators, you'll often chain several of them together.
12611261
/// While working on such code, you might want to check out what's
@@ -1548,7 +1548,7 @@ pub trait Iterator {
15481548
(left, right)
15491549
}
15501550

1551-
/// Reorder the elements of this iterator *in-place* according to the given predicate,
1551+
/// Reorders the elements of this iterator *in-place* according to the given predicate,
15521552
/// such that all those that return `true` precede all those that return `false`.
15531553
/// Returns the number of `true` elements found.
15541554
///

0 commit comments

Comments
 (0)