We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b99354f + 84e6e04 commit d5aeb76Copy full SHA for d5aeb76
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