rustlings

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

variables4.rs (160B)


      1 // TODO: Fix the compiler error.
      2 fn main() {
      3     let mut x = 3;
      4     println!("Number {x}");
      5 
      6     x = 5; // Don't change this line
      7     println!("Number {x}");
      8 }