Skip to content

Commit

Permalink
doc: the last mention of the word 'iterator' is redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Feb 26, 2015
1 parent a5214e4 commit 6b01f7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libcore/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ pub trait IteratorExt: Iterator + Sized {
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
///
Expand Down

0 comments on commit 6b01f7a

Please sign in to comment.