Skip to content

Commit a6509cc

Browse files
authored
fix(functions3): improve function argument type (#687)
1 parent a02b279 commit a6509cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/functions/functions3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn main() {
77
call_me();
88
}
99

10-
fn call_me(num: i32) {
10+
fn call_me(num: u32) {
1111
for i in 0..num {
1212
println!("Ring! Call number {}", i + 1);
1313
}

0 commit comments

Comments
 (0)