7 lines
133 B
Rust
7 lines
133 B
Rust
|
|
fn main() {
|
|
let i: int =
|
|
match Some::<int>(3) { None::<int> => { fail } Some::<int>(_) => { 5 } };
|
|
log(debug, i);
|
|
}
|