mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
f5d225de37
`question_mark` don't lint on `if let Err` with `else` cc #9518 AFAICT the only time this would be a valid suggestion is the rather esoteric ```rust let _ = if let Err(e) = x { return Err(e); } else { // no side effects x.unwrap() } ``` which doesn't seem worth checking to me. Please correct me if I'm missing something. changelog: [`question_mark`] don't lint on `if let Err` with `else` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |