Skip to content

Commit 1d6285e

Browse files
committed
Iter Docs: Mention 'reduce' and 'inject'
1 parent 70db766 commit 1d6285e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/iter.rs

+2
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,8 @@ pub trait Iterator {
578578
/// Performs a fold operation over the entire iterator, returning the
579579
/// eventual state at the end of the iteration.
580580
///
581+
/// This operation is sometimes called 'reduce' or 'inject'.
582+
///
581583
/// # Examples
582584
///
583585
/// ```

0 commit comments

Comments
 (0)