summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/obfuscated_if_else.fixed
blob: 62d932c2c6b79364a2139adcf5ce03b74214e6d5 (plain)
1
2
3
4
5
6
7
// run-rustfix

#![warn(clippy::obfuscated_if_else)]

fn main() {
    if true { "a" } else { "b" };
}