Skip to content

refactor(chain,bdk): fix clippy warnings #893

refactor(chain,bdk): fix clippy warnings

refactor(chain,bdk): fix clippy warnings #893

Triggered via push January 2, 2024 20:53
Status Success
Total duration 3m 55s
Artifacts 1
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
unnecessary map of the identity function: crates/chain/src/spk_txout_index.rs#L172
error: unnecessary map of the identity function --> crates/chain/src/spk_txout_index.rs:172:28 | 172 | .get(&outpoint) | ____________________________^ 173 | | .map(|(spk_i, txout)| (spk_i, txout)) | |_________________________________________________^ help: remove the call to `map` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_identity = note: `-D clippy::map-identity` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::map_identity)]`
Code Coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
coverage-report Expired
4.22 MB