diff options
| author | mo8it <mo8it@proton.me> | 2024-08-17 14:59:00 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-08-17 14:59:00 +0200 |
| commit | 69b4fd49fcfad1f71df4627c6fa7f1aa505d0778 (patch) | |
| tree | c84e78feca676fc41a82091f76b175749ed5e5cf /solutions | |
| parent | 36f315c344a1c7cd8577d68d899a99f93d245bbd (diff) | |
Only take a u8 to avoid huge output
Diffstat (limited to 'solutions')
| -rw-r--r-- | solutions/02_functions/functions3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solutions/02_functions/functions3.rs b/solutions/02_functions/functions3.rs index c581c42..ce5fe8e 100644 --- a/solutions/02_functions/functions3.rs +++ b/solutions/02_functions/functions3.rs @@ -1,4 +1,4 @@ -fn call_me(num: u32) { +fn call_me(num: u8) { for i in 0..num { println!("Ring! Call number {}", i + 1); } |
