Static clippy_lints::eta_reduction::REDUNDANT_CLOSURE
[−]
pub static REDUNDANT_CLOSURE: &'static Lint=
&::rustc::lint::Lint{name: "REDUNDANT_CLOSURE", default_level: ::rustc::lint::Warn, desc: "redundant closures, i.e. `|a| foo(a)` (which can be written as just `foo`)",}