mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 04:23:37 +00:00
doc: the last mention of the word 'iterator' is redundant
This commit is contained in:
parent
a5214e4330
commit
6b01f7ac05
|
@ -171,8 +171,7 @@ fn count(self) -> usize {
|
|||
self.fold(0, |cnt, _x| cnt + 1)
|
||||
}
|
||||
|
||||
/// Loops through the entire iterator, returning the last element of the
|
||||
/// iterator.
|
||||
/// Loops through the entire iterator, returning the last element.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue