From af064c7bb0ec0f5eedd9d5d7e01a236db413c7a7 Mon Sep 17 00:00:00 2001 From: Adolfo OchagavĂ­a Date: Sun, 27 Apr 2014 16:50:55 +0200 Subject: Fixed typo in std::iter --- src/libstd/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') 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 { 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. -- cgit 1.4.1-3-g733a5