Sign in
fuchsia
/
third_party
/
rust
/
ba2853b6d3a197cdbec5543be2592ca430b49af6
/
.
/
src
/
test
/
run-pass
/
paren-free.rs
blob: 1f05ee0ed2242ed1f914d7c90ef47f62ce923cf8 [
file
] [
log
] [
blame
]
pub
fn
main
()
{
let
x
=
true
;
if
x
{
let
mut
i
=
10
;
while
i
>
0
{
i
-=
1
;
}
}
match
x
{
true
=>
{
println
!(
"right"
);
}
false
=>
{
println
!(
"wrong"
);
}
}
}