Skip to content

Commit

Permalink
follow the convention in this file to use third-person singular verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Guanqun Lu committed Nov 22, 2019
1 parent bd816fd commit da5539c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/iter/traits/iterator.rs
Expand Up @@ -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
Expand Down Expand Up @@ -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.
///
Expand Down

0 comments on commit da5539c

Please sign in to comment.