Skip to content

Commit

Permalink
Add known problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed May 16, 2019
1 parent 373d270 commit ce63f3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clippy_lints/src/eta_reduction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ declare_clippy_lint! {
///
/// **Why is this bad?** It's unnecessary to create the closure.
///
/// **Known problems:** rust-lang/rust-clippy#3071, rust-lang/rust-clippy#4002,
/// rust-lang/rust-clippy#3942
///
///
/// **Example:**
/// ```rust,ignore
/// Some('a').map(|s| s.to_uppercase());
Expand Down

0 comments on commit ce63f3a

Please sign in to comment.