This website requires JavaScript.
Explore
Help
Sign In
Shikong
/
trpl-zh-cn
Watch
1
Star
0
Fork
0
You've already forked trpl-zh-cn
mirror of
https://github.com/KaiserY/trpl-zh-cn
synced
2025-04-22 21:48:04 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d00679f57c
trpl-zh-cn
/
listings
/
ch03-common-programming-concepts
/
no-listing-11-destructuring-tuples
/
src
/
main.rs
8 lines
110 B
Rust
Raw
Normal View
History
Unescape
Escape
add listings code && update to ch02-00
2022-02-06 16:43:51 +08:00
fn
main
(
)
{
let
tup
=
(
500
,
6.4
,
1
)
;
let
(
x
,
y
,
z
)
=
tup
;
Update listing code in ch03 Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-07-04 10:48:13 +08:00
println!
(
"
The value of y is:
{y}
"
)
;
add listings code && update to ch02-00
2022-02-06 16:43:51 +08:00
}
Reference in New Issue
Copy Permalink