From 1d6285ebbace676b3c4c200135f592777178ddfa Mon Sep 17 00:00:00 2001 From: Pascal Hertleif Date: Wed, 6 May 2015 13:34:34 +0200 Subject: [PATCH] Iter Docs: Mention 'reduce' and 'inject' --- src/libcore/iter.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index be66623d0e1..679cb952268 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -578,6 +578,8 @@ fn partition(self, mut f: F) -> (B, B) where /// Performs a fold operation over the entire iterator, returning the /// eventual state at the end of the iteration. /// + /// This operation is sometimes called 'reduce' or 'inject'. + /// /// # Examples /// /// ```