From 8597b29e143cdeae50eafae06e0d8ed900b25295 Mon Sep 17 00:00:00 2001 From: anand Date: Tue, 18 Nov 2025 22:40:54 +0530 Subject: Completed till exercise 4 --- exercises/02_functions/functions2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/02_functions/functions2.rs') diff --git a/exercises/02_functions/functions2.rs b/exercises/02_functions/functions2.rs index 2c773c6..a2cffc1 100644 --- a/exercises/02_functions/functions2.rs +++ b/exercises/02_functions/functions2.rs @@ -1,5 +1,5 @@ // TODO: Add the missing type of the argument `num` after the colon `:`. -fn call_me(num:) { +fn call_me(num: i32) { for i in 0..num { println!("Ring! Call number {}", i + 1); } -- cgit v1.2.3