about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/iter.rs b/src/libstd/iter.rs
index d895331752f..18532c39443 100644
--- a/src/libstd/iter.rs
+++ b/src/libstd/iter.rs
@@ -306,7 +306,7 @@ pub trait Iterator<A> {
         Take{iter: self, n: n}
     }
 
-    /// Creates a new iterator which behaves in a similar fashion to foldl.
+    /// Creates a new iterator which behaves in a similar fashion to fold.
     /// There is a state which is passed between each iteration and can be
     /// mutated as necessary. The yielded values from the closure are yielded
     /// from the Scan instance when not None.