Resolve manual_let_else pedantic clippy lint
Before adoption: this commit came in with the history the project adopted, so no landing records it.
warning: this could be rewritten as `let...else` --> build.rs:67:5 | 67 | / let rustc = match rustc_minor_version() { 68 | | Some(rustc) => rustc, 69 | | None => return, 70 | | }; | |______^ help: consider writing: `let Some(rustc) = rustc_minor_version() else { return };` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else = note: `-W clippy::manual-let-else` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::manual_let_else)]`
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+2 added−3 removed
- other:+2 added−3 removed