Exercise 21

This commit is contained in:
akshitgautam42 2023-11-12 11:59:18 +05:30
parent b0f3cead0f
commit 729b76cc2e

View File

@ -5,11 +5,10 @@
// Execute `rustlings hint primitive_types5` or use the `hint` watch subcommand
// for a hint.
// I AM NOT DONE
fn main() {
let cat = ("Furry McFurson", 3.5);
let /* your pattern here */ = cat;
let (name,age) = cat;
println!("{} is {} years old.", name, age);
}