mirror of https://github.com/rust-lang/rustlings
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
315 B
Rust
12 lines
315 B
Rust
// primitive_types6.rs
|
|
// Use a tuple index to access the second element of `numbers`.
|
|
// You can put this right into the `println!` where the ??? is.
|
|
// Execute `rustlings hint primitive_types6` for hints!
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
let numbers = (1, 2, 3);
|
|
println!("The second number is {}", ???);
|
|
}
|