We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8415fa2 commit c84e692Copy full SHA for c84e692
src/libcore/iter.rs
@@ -273,8 +273,9 @@ pub trait Iterator {
273
FilterMap { iter: self, f: f }
274
}
275
276
- /// Creates an iterator that yields a pair of the value returned by this
277
- /// iterator plus the current index of iteration.
+ /// Creates an iterator that yields pairs `(i, val)` where `i` is the
+ /// current index of iteration and `val` is the value returned by the
278
+ /// iterator
279
///
280
/// `enumerate` keeps its count as a `usize`. If you want to count by a
281
/// different sized integer, the `zip` function provides similar
0 commit comments