index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
tools
/
miri
/
tests
/
pass
/
match_slice.rs
blob: e40a63ef2003be05d957701bb79645cc8b1ea608 (
plain
)
1
2
3
4
5
6
7
8
fn
main
()
{
let
x
=
"hello"
;
match
x
{
"foo"
=>
{}
"bar"
=>
{}
_
=>
{}
}
}