Bump actions/dependency-review-action from 3.1.0 to 3.1.4 #195
safety.yml
on: pull_request
sanitizers
2m 4s
miri
1m 54s
Annotations
2 warnings
you seem to use `.enumerate()` and immediately discard the index:
src/problem/p0912_sort_an_array.rs#L64
warning: you seem to use `.enumerate()` and immediately discard the index
--> src/problem/p0912_sort_an_array.rs:64:27
|
64 | for (_i, item) in nums.iter().enumerate() {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index
help: remove the `.enumerate()` call
|
64 | for item in nums.iter() {
| ~~~~ ~~~~~~~~~~~
|
you seem to use `.enumerate()` and immediately discard the index:
src/problem/p0912_sort_an_array.rs#L55
warning: you seem to use `.enumerate()` and immediately discard the index
--> src/problem/p0912_sort_an_array.rs:55:27
|
55 | for (_i, item) in nums.iter().enumerate() {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index
= note: `#[warn(clippy::unused_enumerate_index)]` on by default
help: remove the `.enumerate()` call
|
55 | for item in nums.iter() {
| ~~~~ ~~~~~~~~~~~
|