We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e261d1 commit 84e6e04Copy full SHA for 84e6e04
src/libcore/iter.rs
@@ -1532,7 +1532,7 @@ pub trait Iterator {
1532
/// An iterator adaptor that applies a function, producing a single, final value.
1533
///
1534
/// `fold()` takes two arguments: an initial value, and a closure with two
1535
- /// arguments: an 'accumulator', and an element. It returns the value that
+ /// arguments: an 'accumulator', and an element. The closure returns the value that
1536
/// the accumulator should have for the next iteration.
1537
1538
/// The initial value is the value the accumulator will have on the first
0 commit comments