This website requires JavaScript.
Explore
Sign In
mirror
/
rust
mirror of
https://github.com/rust-lang/rust
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
pretty
/
match-block-expr.rs
7 lines
103 B
Rust
Raw
Permalink
Blame
History
//@ pp-exact
fn
main
(
)
{
let
x
=
match
{
5
}
{
1
=
>
5
,
2
=
>
6
,
_
=
>
7
,
}
;
assert_eq!
(
x
,
7
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink