rustlings

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

functions3.rs (168B)


      1 fn call_me(num: u8) {
      2     for i in 0..num {
      3         println!("Ring! Call number {}", i + 1);
      4     }
      5 }
      6 
      7 fn main() {
      8     // TODO: Fix the function call.
      9     call_me(1);
     10 }