Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore manual_let_else pedantic clippy lint
warning: this could be rewritten as `let...else` --> impl/src/expand.rs:511:5 | 511 | / let bracketed = match &last.arguments { 512 | | PathArguments::AngleBracketed(bracketed) => bracketed, 513 | | _ => return None, 514 | | }; | |______^ help: consider writing: `let PathArguments::AngleBracketed(bracketed) = &last.arguments else { return None };` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else warning: this could be rewritten as `let...else` --> impl/src/fmt.rs:43:13 | 43 | / let next = match read.chars().next() { 44 | | Some(next) => next, 45 | | None => return, 46 | | }; | |______________^ help: consider writing: `let Some(next) = read.chars().next() else { return };` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else warning: this could be rewritten as `let...else` --> impl/src/fmt.rs:68:17 | 68 | / let end_spec = match read.find('}') { 69 | | Some(end_spec) => end_spec, 70 | | None => return, 71 | | }; | |__________________^ help: consider writing: `let Some(end_spec) = read.find('}') else { return };` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else warning: this could be rewritten as `let...else` --> impl/src/valid.rs:216:13 | 216 | / let bracketed = match &ty.path.segments.last().unwrap().arguments { 217 | | PathArguments::AngleBracketed(bracketed) => bracketed, 218 | | _ => return false, 219 | | }; | |______________^ help: consider writing: `let PathArguments::AngleBracketed(bracketed) = &ty.path.segments.last().unwrap().arguments else { return false };` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else
- Loading branch information