]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: it is more idiomatic to use `v1.iter().enumerate()` |
2 | --> $DIR/range.rs:5:14 | |
3 | | | |
4 | LL | let _x = v1.iter().zip(0..v1.len()); | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: `-D clippy::range-zip-with-len` implied by `-D warnings` | |
8 | ||
9 | error: aborting due to previous error | |
10 |