Iter Docs: Mention 'reduce' and 'inject'
This commit is contained in:
parent
70db76602e
commit
1d6285ebba
1 changed files with 2 additions and 0 deletions
|
|
@ -578,6 +578,8 @@ pub trait Iterator {
|
|||
/// 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
|
||||
///
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue