diff options
| author | Ignacio Le Fluk <flakolefluk@gmail.com> | 2021-04-04 03:43:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-04 09:43:25 +0200 |
| commit | a6509cc4d545d8825f01ddf7ee37823b372154dd (patch) | |
| tree | ef5954ebc065ee6a415ec82d60d894f426d63ca4 /exercises/functions | |
| parent | a02b27975018f69c51147f5f8d9638a5f4e26811 (diff) | |
fix(functions3): improve function argument type (#687)
Diffstat (limited to 'exercises/functions')
| -rw-r--r-- | exercises/functions/functions3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
