diff --git a/functions/functions2.rs b/functions/functions2.rs index 97ed8f1..4471ccd 100644 --- a/functions/functions2.rs +++ b/functions/functions2.rs @@ -4,7 +4,7 @@ fn main() { call_me(3); } -fn call_me(num) { +fn call_me(num: i32) { for i in 0..num { println!("Ring! Call number {}", i + 1); }