Skip to content

Commit 02ba8e2

Browse files
committed
auto merge of #13798 : aochagavia/rust/pr, r=alexcrichton
2 parents 1be19f9 + af064c7 commit 02ba8e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ pub trait Iterator<A> {
306306
Take{iter: self, n: n}
307307
}
308308

309-
/// Creates a new iterator which behaves in a similar fashion to foldl.
309+
/// Creates a new iterator which behaves in a similar fashion to fold.
310310
/// There is a state which is passed between each iteration and can be
311311
/// mutated as necessary. The yielded values from the closure are yielded
312312
/// from the Scan instance when not None.

0 commit comments

Comments
 (0)