From 55be3c2f5825a25da81122cf9681e734bbc901ec Mon Sep 17 00:00:00 2001 From: alexey semenyuk Date: Thu, 24 Jul 2025 13:11:00 +0500 Subject: [PATCH] Remove "Known problems" section for `clippy::redundant_closure` --- clippy_lints/src/eta_reduction.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/clippy_lints/src/eta_reduction.rs b/clippy_lints/src/eta_reduction.rs index 0288747d6f3e..9b627678bd35 100644 --- a/clippy_lints/src/eta_reduction.rs +++ b/clippy_lints/src/eta_reduction.rs @@ -29,12 +29,6 @@ declare_clippy_lint! { /// Needlessly creating a closure adds code for no benefit /// and gives the optimizer more work. /// - /// ### Known problems - /// If creating the closure inside the closure has a side- - /// effect then moving the closure creation out will change when that side- - /// effect runs. - /// See [#1439](https://github.com/rust-lang/rust-clippy/issues/1439) for more details. - /// /// ### Example /// ```rust,ignore /// xs.map(|x| foo(x))