From 3c283ff209972f40dc8b6775f5114d833795101d Mon Sep 17 00:00:00 2001 From: Ignacio Le Fluk <flakolefluk@gmail.com> Date: Sun, 4 Apr 2021 03:43:25 -0400 Subject: [PATCH] fix(functions3): improve function argument type (#687) --- 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); }