Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve redundant_guards clippy lint
warning: redundant guard --> build/rustc.rs:60:26 | 60 | Some(channel) if channel == "dev" => Dev, | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards = note: `-W clippy::redundant-guards` implied by `-W clippy::all` help: try | 60 - Some(channel) if channel == "dev" => Dev, 60 + Some("dev") => Dev, | warning: redundant guard --> build/rustc.rs:62:26 | 62 | Some(channel) if channel == "nightly" => match words.next() { | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards help: try | 62 - Some(channel) if channel == "nightly" => match words.next() { 62 + Some("nightly") => match words.next() { |
- Loading branch information