Skip to content

Commit a699945

Browse files
authored
Rollup merge of rust-lang#66619 - guanqun:use-third-person-singular-verb, r=Centril
follow the convention in this file to use third-person singular verbs
2 parents 3031720 + da5539c commit a699945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/iter/traits/iterator.rs

Lines changed: 2 additions & 2 deletions
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)