mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Remove useless part of test
This commit is contained in:
parent
2ba03c8467
commit
2357dfe8ee
1 changed files with 0 additions and 5 deletions
|
@ -286,11 +286,6 @@ fn main() {
|
|||
id_col[i] = 1f64;
|
||||
}
|
||||
|
||||
// This is fine.
|
||||
for i in (10..0).map(|x| x * 2) {
|
||||
println!("{}", i);
|
||||
}
|
||||
|
||||
for _v in vec.iter() { }
|
||||
//~^ ERROR it is more idiomatic to loop over `&vec`
|
||||
//~| HELP to write this more concisely, try looping over
|
||||
|
|
Loading…
Add table
Reference in a new issue