1 error: the loop variable `i` is only used to index `ns`.
2 --> $DIR/needless_range_loop.rs:8:14
7 = note: `-D needless-range-loop` implied by `-D warnings`
8 help: consider using an iterator
10 8 | for <item> in ns.iter().take(10).skip(3) {
13 error: the loop variable `i` is only used to index `ms`.
14 --> $DIR/needless_range_loop.rs:29:14
16 29 | for i in 0..ms.len() {
18 help: consider using an iterator
20 29 | for <item> in &mut ms {
23 error: the loop variable `i` is only used to index `ms`.
24 --> $DIR/needless_range_loop.rs:35:14
26 35 | for i in 0..ms.len() {
28 help: consider using an iterator
30 35 | for <item> in &mut ms {
33 error: aborting due to 3 previous errors