8 lines
101 B
Rust
8 lines
101 B
Rust
|
fn main() {
|
||
|
let x = &Some(1);
|
||
|
match x {
|
||
|
&Some(_) => (),
|
||
|
&None => (),
|
||
|
}
|
||
|
}
|