From 4cd09439fcf71fca62e279c7244e1c21500277ae Mon Sep 17 00:00:00 2001 From: Ignacio Falk <flakolefluk@gmail.com> Date: Tue, 30 Mar 2021 23:06:06 -0300 Subject: [PATCH] fix: improve function argument type --- exercises/functions/functions3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/functions/functions3.rs b/exercises/functions/functions3.rs index e3c1bf7..ed5f839 100644 --- a/exercises/functions/functions3.rs +++ b/exercises/functions/functions3.rs @@ -7,7 +7,7 @@ fn main() { call_me(); } -fn call_me(num: i32) { +fn call_me(num: u32) { for i in 0..num { println!("Ring! Call number {}", i + 1); }