rust/tests/source/match-flattening.rs
2018-09-11 08:54:43 +03:00

22 lines
306 B
Rust

fn main() {
match option {
None => if condition {
true
} else {
false
},
}
}
fn main() {
match option {
None => {
if condition {
true
} else {
false
}
}
}
}