about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAdolfo OchagavĂ­a <aochagavia92@gmail.com>2014-04-27 16:50:55 +0200
committerAdolfo OchagavĂ­a <aochagavia92@gmail.com>2014-04-27 16:50:55 +0200
commitaf064c7bb0ec0f5eedd9d5d7e01a236db413c7a7 (patch)
treef75a38f48e86816c9960686a9172634e159ba3ac /src
parentb2a8fae84c290f6dbbff769de7f59f76a9400103 (diff)
downloadrust-af064c7bb0ec0f5eedd9d5d7e01a236db413c7a7.tar.gz
rust-af064c7bb0ec0f5eedd9d5d7e01a236db413c7a7.zip
Fixed typo in std::iter
Diffstat (limited to 'src')
-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.