about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-01-29 14:54:28 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2024-01-29 14:54:28 +0100
commitce8b4b6ac021e842916a101dfe5dbc74c4bc33b7 (patch)
treef182d100809d7f304b372a23def5b47a61176521
parentb2f2080942819a9cc5f384b6ecf49772ed39fab1 (diff)
downloadrust-ce8b4b6ac021e842916a101dfe5dbc74c4bc33b7.tar.gz
rust-ce8b4b6ac021e842916a101dfe5dbc74c4bc33b7.zip
Remove fixed FIXME
-rw-r--r--clippy_lints/src/methods/unnecessary_fold.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/unnecessary_fold.rs b/clippy_lints/src/methods/unnecessary_fold.rs
index f3577ef6082..2046692bbd0 100644
--- a/clippy_lints/src/methods/unnecessary_fold.rs
+++ b/clippy_lints/src/methods/unnecessary_fold.rs
@@ -99,7 +99,6 @@ fn check_fold_with_op(
             cx,
             UNNECESSARY_FOLD,
             fold_span.with_hi(expr.span.hi()),
-            // TODO #2371 don't suggest e.g., .any(|x| f(x)) if we can suggest .any(f)
             "this `.fold` can be written more succinctly using another method",
             "try",
             sugg,