rustlings

solving rustlings ft. dracuxan
git clone [email protected]:dracuxan/rustlings.git
Log | Files | Refs

primitive_types5.rs (157B)


      1 fn main() {
      2     let cat = ("Furry McFurson", 3.5);
      3 
      4     // Destructuring the tuple.
      5     let (name, age) = cat;
      6 
      7     println!("{name} is {age} years old");
      8 }