rust/tests/run-pass/match_slice.rs
Oliver Schneider d6f1ba89ce
fix matching on chars
fixes #63
2016-09-27 11:10:25 +02:00

9 lines
114 B
Rust

fn main() {
let x = "hello";
match x {
"foo" => {},
"bar" => {},
_ => {},
}
}