diff options
| author | dswij <dharmasw@outlook.com> | 2025-07-25 08:10:05 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-25 08:10:05 +0000 |
| commit | e85b1dd6dae1429b384c63e46a61daa1c6aae134 (patch) | |
| tree | c4ae5a344f3a66cb188f91f71b541ee23ec0ec93 | |
| parent | 98205e60ccba4fe98ae42e9eee3c14120ef32fe4 (diff) | |
| parent | 55be3c2f5825a25da81122cf9681e734bbc901ec (diff) | |
| download | rust-e85b1dd6dae1429b384c63e46a61daa1c6aae134.tar.gz rust-e85b1dd6dae1429b384c63e46a61daa1c6aae134.zip | |
Remove "Known problems" section for `clippy::redundant_closure` (#15331)
Remove "Known problems" section for `clippy::redundant_closure` since it was fixed by [this PR](https://github.com/rust-lang/rust-clippy/pull/4008) We can see this by running examples from [the issue](https://github.com/rust-lang/rust-clippy/issues/1439), for ex. [this one](https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=6562527b4c3f6dcebb3c43718341af98) changelog: none
| -rw-r--r-- | clippy_lints/src/eta_reduction.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clippy_lints/src/eta_reduction.rs b/clippy_lints/src/eta_reduction.rs index 0288747d6f3..9b627678bd3 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)) |
