Skip to content

Bump actions/dependency-review-action from 3.1.0 to 3.1.4 #195

Bump actions/dependency-review-action from 3.1.0 to 3.1.4

Bump actions/dependency-review-action from 3.1.0 to 3.1.4 #195

Triggered via pull request November 29, 2023 04:56
Status Success
Total duration 2m 16s
Artifacts

safety.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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() { | ~~~~ ~~~~~~~~~~~