Update Rust crate clap to v4.5.21 #201
Annotations
4 warnings
rust:
src/main.rs#L249
[clippy] reported by reviewdog 🐶
redundant field names in struct initialization
Raw Output:
src/main.rs:249:17: warning: redundant field names in struct initialization (clippy::redundant_field_names)
|
rust:
src/main.rs#L118
[clippy] reported by reviewdog 🐶
irrefutable `let...else` pattern
Raw Output:
src/main.rs:118:17: warning: irrefutable `let...else` pattern (irrefutable_let_patterns)
|
rust:
src/main.rs#L41
[clippy] reported by reviewdog 🐶
this `.filter_map` can be written more simply using `.map`
Raw Output:
src/main.rs:41:16: warning: this `.filter_map` can be written more simply using `.map` (clippy::unnecessary_filter_map)
|
rust:
src/main.rs#L182
[clippy] reported by reviewdog 🐶
using `clone` on type `Ipv4Addr` which implements the `Copy` trait
Raw Output:
src/main.rs:182:22: warning: using `clone` on type `Ipv4Addr` which implements the `Copy` trait (clippy::clone_on_copy)
|