We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7550b61 commit 6ce3e1dCopy full SHA for 6ce3e1d
src/libcore/iter/traits/iterator.rs
@@ -202,7 +202,7 @@ pub trait Iterator {
202
/// Consumes the iterator, counting the number of iterations and returning it.
203
///
204
/// This method will evaluate the iterator until its [`next`] returns
205
- /// [`None`]. Once [`None`] is encountered, `count()` returns one less than the
+ /// [`None`]. Once [`None`] is encountered, `count()` returns one less than the
206
/// number of times it called [`next`]. Note that [`next`] has to be called at
207
/// least once even if the iterator does not have any elements.
208
0 commit comments