rust/tests/source/let_else.rs
2023-06-20 08:26:11 -05:00

11 lines
163 B
Rust

fn main() {
let Some(x) = opt else { return };
let Some(x) = opt else { return; };
let Some(x) = opt else {
// nope
return;
};
}