build(deps): bump the cargo group across 1 directory with 5 updates #388
ci.yaml
on: pull_request
Build & Test Project
35s
Spell Check with Typos
5s
Annotations
1 warning
Build & Test Project:
blsforme/src/manager.rs#L63
[clippy] reported by reviewdog 🐶
warning: this `map_or` is redundant
--> blsforme/src/manager.rs:63:33
|
63 | .filter(|d| d.path().extension().map_or(false, |e| e == "cmdline"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_some_and instead: `d.path().extension().is_some_and(|e| e == "cmdline")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
Raw Output:
blsforme/src/manager.rs:63:33:w:warning: this `map_or` is redundant
--> blsforme/src/manager.rs:63:33
|
63 | .filter(|d| d.path().extension().map_or(false, |e| e == "cmdline"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_some_and instead: `d.path().extension().is_some_and(|e| e == "cmdline")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
__END__
|