mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
06f1902878
option_if_let_else - distinguish pure from impure else expressions Addresses partially #5821. changelog: improve the lint `option_if_let_else`. Suggest `map_or` or `map_or_else` based on the else expression purity.