Skip to content

Commit 55be3c2

Browse files
Remove "Known problems" section for clippy::redundant_closure
1 parent 8ad5c67 commit 55be3c2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clippy_lints/src/eta_reduction.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ declare_clippy_lint! {
2929
/// Needlessly creating a closure adds code for no benefit
3030
/// and gives the optimizer more work.
3131
///
32-
/// ### Known problems
33-
/// If creating the closure inside the closure has a side-
34-
/// effect then moving the closure creation out will change when that side-
35-
/// effect runs.
36-
/// See [#1439](https://github.com/rust-lang/rust-clippy/issues/1439) for more details.
37-
///
3832
/// ### Example
3933
/// ```rust,ignore
4034
/// xs.map(|x| foo(x))

0 commit comments

Comments
 (0)