Skip to content

Commit

Permalink
fix(functions3): improve function argument type (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
flakolefluk authored Apr 4, 2021
1 parent a02b279 commit a6509cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/functions/functions3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a6509cc

Please sign in to comment.