From af064c7bb0ec0f5eedd9d5d7e01a236db413c7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20Ochagav=C3=ADa?= Date: Sun, 27 Apr 2014 16:50:55 +0200 Subject: [PATCH] Fixed typo in std::iter --- src/libstd/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/iter.rs b/src/libstd/iter.rs index d895331752f8..18532c394436 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.