Skip to content

fix(deps): update rust crate clap to v4.5.31 #481

fix(deps): update rust crate clap to v4.5.31

fix(deps): update rust crate clap to v4.5.31 #481

Triggered via push February 24, 2025 18:25
Status Success
Total duration 2m 50s
Artifacts

audit.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
this `map_or` is redundant: src/config/builder/environment/exe.rs#L78
error: this `map_or` is redundant --> src/config/builder/environment/exe.rs:78:33 | 78 | let is_lone_file_name = value.parent().map_or(false, |s| s.as_os_str().is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_some_and instead: `value.parent().is_some_and(|s| s.as_os_str().is_empty())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
this `map_or` is redundant: src/checkers/history/operation/v2.rs#L162
error: this `map_or` is redundant --> src/checkers/history/operation/v2.rs:162:9 | 162 | / self.files 163 | | .get_pile(pile_name) 164 | | .map_or(false, |pile| pile.contains_file(rel_path, only_modified)) | |______________________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 162 ~ self.files 163 + .get_pile(pile_name).is_some_and(|pile| pile.contains_file(rel_path, only_modified)) |
empty line after doc comment: src/checkers/history/operation/v2.rs#L23
error: empty line after doc comment --> src/checkers/history/operation/v2.rs:23:1 | 23 | / /// Errors that may occur while working with operation logs. 24 | | | |_^ ... 32 | pub struct OperationV2 { | ---------------------- the comment documents this struct | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments note: the lint level is defined here --> src/lib.rs:19:9 | 19 | #![deny(clippy::all)] | ^^^^^^^^^^^ = note: `#[deny(clippy::empty_line_after_doc_comments)]` implied by `#[deny(clippy::all)]` = help: if the empty line is unintentional remove it help: if the documentation should include the empty line include it in the comment | 24 | /// |
this `map_or` is redundant: src/checkers/history/operation/v1.rs#L48
error: this `map_or` is redundant --> src/checkers/history/operation/v1.rs:48:55 | 48 | (Some(pile_name), Hoard::Named(piles)) => piles | _______________________________________________________^ 49 | | .get(pile_name) 50 | | .map_or(false, |pile| pile.0.contains_key(rel_path)), | |____________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or note: the lint level is defined here --> src/lib.rs:21:9 | 21 | #![deny(clippy::style)] | ^^^^^^^^^^^^^ = note: `#[deny(clippy::unnecessary_map_or)]` implied by `#[deny(clippy::style)]` help: use is_some_and instead | 48 ~ (Some(pile_name), Hoard::Named(piles)) => piles 49 ~ .get(pile_name).is_some_and(|pile| pile.0.contains_key(rel_path)), |