Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
doc
/
book
/
listings
/
ch18-patterns-and-matching
/
no-listing-03-ranges
/
src
/
main.rs
blob: a3ebe7af06882afec69d40136eaae6237fa199bc [
file
] [
log
] [
blame
]
fn
main
()
{
// ANCHOR: here
let
x
=
5
;
match
x
{
1.
.=
5
=>
println
!(
"one through five"
),
_
=>
println
!(
"something else"
),
}
// ANCHOR_END: here
}