iterator: reword docstring

This commit is contained in:
Daniel Micay 2013-05-18 04:44:44 -04:00
parent 883d583faa
commit 073225572a

View file

@ -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) }