mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
part of https://github.com/rust-lang/rust-clippy/issues/9100 The `obfuscated_if_else` lint currently only triggers for the pattern `.then_some(..).unwrap_or(..)`, but there're other cases where this lint should be triggered, one of which is `.then(..).unwrap_or(..)`. changelog: [`obfuscated_if_else`]: trigger lint for the `.then(..).unwrap_or(..)` pattern as well