Skip to content

Commit

Permalink
Only take a u8 to avoid huge output
Browse files Browse the repository at this point in the history
  • Loading branch information
mo8it committed Aug 17, 2024
1 parent 36f315c commit 69b4fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exercises/02_functions/functions3.rs
Original file line number Diff line number Diff line change
@@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion solutions/02_functions/functions3.rs
Original file line number Diff line number Diff line change
@@ -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);
}
Expand Down

0 comments on commit 69b4fd4

Please sign in to comment.