rust-clippy/tests/ui/redundant_closure_call_fixable.fixed

9 lines
106 B
Rust
Raw Normal View History

// run-rustfix
#![warn(clippy::redundant_closure_call)]
#![allow(unused)]
fn main() {
let a = 42;
}