rustlings

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

functions2.rs (206B)


      1 // TODO: Add the missing type of the argument `num` after the colon `:`.
      2 fn call_me(num: i32) {
      3     for i in 0..num {
      4         println!("Ring! Call number {}", i + 1);
      5     }
      6 }
      7 
      8 fn main() {
      9     call_me(3);
     10 }