iterator: reword docstring
This commit is contained in:
parent
883d583faa
commit
073225572a
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ impl<A, T: Iterator<A>> IteratorUtil<A> for T {
|
|||
return accum;
|
||||
}
|
||||
|
||||
/// Count the number of an iterator elemenrs
|
||||
/// Count the number of items yielded by an iterator
|
||||
#[inline(always)]
|
||||
fn count(&mut self) -> uint { self.fold(0, |cnt, _x| cnt + 1) }
|
||||
|
||||
|
|
Loading…
Reference in a new issue