rustlings

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

variables5.rs (280B)


      1 fn main() {
      2     let number = "T-H-R-E-E"; // Don't change this line
      3     println!("Spell a number: {number}");
      4 
      5     // TODO: Fix the compiler error by changing the line below without renaming the variable.
      6 
      7     let number = 3;
      8     println!("Number plus two is: {}", number + 2);
      9 }