Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clippy::redundant_guards warning
``` error: redundant guard --> src/main.rs:652:20 | 652 | Some(p) if matches!(p, "release" | "bench") => "release", | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards = note: `-D clippy::redundant-guards` implied by `-D warnings` help: try | 652 - Some(p) if matches!(p, "release" | "bench") => "release", 652 + Some("release" | "bench") => "release", | error: redundant guard --> src/main.rs:653:20 | 653 | Some(p) if matches!(p, "dev" | "test") => "debug", | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards help: try | 653 - Some(p) if matches!(p, "dev" | "test") => "debug", 653 + Some("dev" | "test") => "debug", | ```
- Loading branch information