mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-04-07 04:18:04 +08:00
8 lines
112 B
Rust
Executable File
8 lines
112 B
Rust
Executable File
fn main() {
|
|
let tup = (500, 6.4, 1);
|
|
|
|
let (x, y, z) = tup;
|
|
|
|
println!("The value of y is: {}", y);
|
|
}
|