Iter Docs: Mention 'reduce' and 'inject'

This commit is contained in:
Pascal Hertleif 2015-05-06 13:34:34 +02:00
parent 70db76602e
commit 1d6285ebba

View File

@ -578,6 +578,8 @@ fn partition<B, F>(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
///
/// ```