1 // rustfmt-single_line_if_else_max_width: 100
3 // Format if-else expressions on a single line, when possible.
12 let a = if x { 1 } else if y { 2 } else { 3 };
29 let d = if let Some(val) = turbo
33 if cond() { statement(); } else { other_statement(); }
39 let x = if veeeeeeeeery_loooooong_condition() { aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa } else { bbbbbbbbbb };
41 let x = if veeeeeeeeery_loooooong_condition() { aaaaaaaaaaaaaaaaaaaaaaaaa } else {