We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1be19f9 + af064c7 commit 02ba8e2Copy full SHA for 02ba8e2
src/libstd/iter.rs
@@ -306,7 +306,7 @@ pub trait Iterator<A> {
306
Take{iter: self, n: n}
307
}
308
309
- /// Creates a new iterator which behaves in a similar fashion to foldl.
+ /// Creates a new iterator which behaves in a similar fashion to fold.
310
/// There is a state which is passed between each iteration and can be
311
/// mutated as necessary. The yielded values from the closure are yielded
312
/// from the Scan instance when not None.
0 commit comments