summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/obfuscated_if_else.fixed
blob: 9e4f97253f843fe88059aa6b3fb28d56025ecf12 (plain)
1
2
3
4
5
6
7
//@run-rustfix

#![warn(clippy::obfuscated_if_else)]

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