From d83692a2dc7909e5a3ed64f5f8966fafd56f8b36 Mon Sep 17 00:00:00 2001 From: akshitgautam42 Date: Sat, 11 Nov 2023 20:17:51 +0530 Subject: [PATCH 1/2] Exercise 9 --- exercises/02_functions/functions2.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/02_functions/functions2.rs b/exercises/02_functions/functions2.rs index 5154f34d..a02fadc3 100644 --- a/exercises/02_functions/functions2.rs +++ b/exercises/02_functions/functions2.rs @@ -3,13 +3,13 @@ // Execute `rustlings hint functions2` or use the `hint` watch subcommand for a // hint. -// I AM NOT DONE + 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); } From 8293b65b55531135c40ed30373349b9d453b5b7a Mon Sep 17 00:00:00 2001 From: akshitgautam42 Date: Sat, 11 Nov 2023 20:19:37 +0530 Subject: [PATCH 2/2] Exercise 10 --- exercises/02_functions/functions2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/02_functions/functions2.rs b/exercises/02_functions/functions2.rs index a02fadc3..c20a37ed 100644 --- a/exercises/02_functions/functions2.rs +++ b/exercises/02_functions/functions2.rs @@ -1,7 +1,7 @@ // functions2.rs // // Execute `rustlings hint functions2` or use the `hint` watch subcommand for a -// hint. +