The reduce
method should document the order of the closure arguments
#88927
Labels
C-bug
Category: This is a bug.
reduce
takes a closure argument, but does not explain the order of its arguments. The type signature does not help clarify the order as it would forfold
. Also note thatfold
andtry_fold
do document the closure.See: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.reduce
The text was updated successfully, but these errors were encountered: