Skip to content

Commit 0732255

Browse files
committed
iterator: reword docstring
1 parent 883d583 commit 0732255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iterator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl<A, T: Iterator<A>> IteratorUtil<A> for T {
184184
return accum;
185185
}
186186

187-
/// Count the number of an iterator elemenrs
187+
/// Count the number of items yielded by an iterator
188188
#[inline(always)]
189189
fn count(&mut self) -> uint { self.fold(0, |cnt, _x| cnt + 1) }
190190

0 commit comments

Comments
 (0)