Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
doc
/
book
/
listings
/
ch18-patterns-and-matching
/
listing-18-19
/
src
/
main.rs
blob: 59b48c94d8385a90229a8a064ec66cab442568cc [
file
] [
log
] [
blame
]
fn
main
()
{
// ANCHOR: here
let
numbers
=
(
2
,
4
,
8
,
16
,
32
);
match
numbers
{
(
first
,
_
,
third
,
_
,
fifth
)
=>
{
println
!(
"Some numbers: {}, {}, {}"
,
first
,
third
,
fifth
)
}
}
// ANCHOR_END: here
}