9 lines
108 B
Rust
9 lines
108 B
Rust
struct Foo;
|
|
|
|
fn main() {
|
|
let x: Foo = Foo;
|
|
match x {
|
|
Foo => { io::println("hi"); }
|
|
}
|
|
}
|
|
|