mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 17:48:10 +00:00
95396f61bc
`needless_late_init`: ignore `if let`, `let mut` and significant drops No longer lints `if let`, personal taste on this one is pretty split, so it probably shouldn't be warning by default. Fixes #8613 ```rust let x = if let Some(n) = y { n } else { 1 } ``` No longer lints `let mut`, things like the following are not uncommon and look fine as they are |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |