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
5c71aac643
book
/
listings
/
ch03-common-programming-con...
/
no-listing-11-destructuring...
/
src
/
main.rs
8 lines
112 B
Rust
Raw
Blame
History
fn
main
(
)
{
let
tup
=
(
500
,
6.4
,
1
)
;
let
(
x
,
y
,
z
)
=
tup
;
println!
(
"
The value of y is:
{}
"
,
y
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink