10 lines
186 B
Rust
10 lines
186 B
Rust
|
#![feature(plugin)]
|
||
|
#![plugin(clippy)]
|
||
|
|
||
|
#[warn(needless_borrowed_reference)]
|
||
|
fn main() {
|
||
|
let mut v = Vec::<String>::new();
|
||
|
let _ = v.iter_mut().filter(|&ref a| a.is_empty());
|
||
|
}
|
||
|
|