rustlings

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

variables2.rs (194B)


      1 fn main() {
      2     // TODO: Change the line below to fix the compiler error.
      3     let x = 5;
      4 
      5     if x == 10 {
      6         println!("x is ten!");
      7     } else {
      8         println!("x is not ten!");
      9     }
     10 }