Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
doc
/
book
/
listings
/
ch06-enums-and-pattern-matching
/
listing-06-06
/
src
/
main.rs
blob: 222d54552c805553ab2bef11b30b3954277e7644 [
file
] [
log
] [
blame
]
fn
main
()
{
// ANCHOR: here
let
some_u8_value
=
Some
(
0u8
);
match
some_u8_value
{
Some
(
3
)
=>
println
!(
"three"
),
_
=>
(),
}
// ANCHOR_END: here
}