This website requires JavaScript.
Explore
Help
Sign In
rust
/
book
mirror of
https://github.com/rust-lang/book
Watch
1
Star
0
Fork
You've already forked book
0
Code
Issues
Releases
Wiki
Activity
162d540045
book
/
listings
/
ch18-patterns-and-matching
/
listing-18-10
/
src
/
main.rs
8 lines
109 B
Rust
Raw
Blame
History
fn
main
(
)
{
// ANCHOR: here
if
let
x
=
5
{
println!
(
"
{x}
"
)
;
}
;
// ANCHOR_END: here
}
Reference in New Issue
View Git Blame
Copy Permalink