Add known problems

This commit is contained in:
Manish Goregaokar 2019-05-16 09:43:07 -07:00
parent 373d270673
commit ce63f3ae4d

View File

@ -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());