mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-11 07:34:18 +00:00
284c359c61
This only happend when debug_assertions were enabled in rustc
5 lines
154 B
Rust
5 lines
154 B
Rust
#[allow(clippy::needless_borrowed_reference)]
|
|
fn main() {
|
|
let mut v = Vec::<String>::new();
|
|
let _ = v.iter_mut().filter(|&ref a| a.is_empty());
|
|
}
|