mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
e6febbd13b
changelog: [`unnecessary_option_map_or_else`]: Added lint unnecessary_option_map_or_else. As suggested in the issue description, the implementation takes as reference the issue rust-lang/rust-clippy#7328. The tests for lints `option_if_let_else` and `or_fun_call` needed to be adjusted to comply with new lint. fixes rust-lang/rust-clippy#14588