about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-27 13:11:43 -0700
committerbors <bors@rust-lang.org>2014-04-27 13:11:43 -0700
commit02ba8e275419798be044e68379b25cc8ab52a97c (patch)
treebe66303a752e3ea0e0e17048c59363595077d349 /src/libstd
parent1be19f9cc8a774de1c5c60dbc8143c2ac3ae5d17 (diff)
parentaf064c7bb0ec0f5eedd9d5d7e01a236db413c7a7 (diff)
downloadrust-02ba8e275419798be044e68379b25cc8ab52a97c.tar.gz
rust-02ba8e275419798be044e68379b25cc8ab52a97c.zip
auto merge of #13798 : aochagavia/rust/pr, r=alexcrichton
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.