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);
|
|
}
|