mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
8 lines
96 B
Rust
8 lines
96 B
Rust
fn foo(a: T) {
|
|
match a {
|
|
1 => {}
|
|
0 => {}
|
|
// _ => panic!("doesn't format!"),
|
|
}
|
|
}
|