We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f2080 commit ce8b4b6Copy full SHA for ce8b4b6
clippy_lints/src/methods/unnecessary_fold.rs
@@ -99,7 +99,6 @@ fn check_fold_with_op(
99
cx,
100
UNNECESSARY_FOLD,
101
fold_span.with_hi(expr.span.hi()),
102
- // TODO #2371 don't suggest e.g., .any(|x| f(x)) if we can suggest .any(f)
103
"this `.fold` can be written more succinctly using another method",
104
"try",
105
sugg,
0 commit comments