fix(functions3): improve function argument type (#687)

This commit is contained in:
Ignacio Le Fluk 2021-04-04 03:43:25 -04:00 committed by GitHub
parent a02b279750
commit a6509cc4d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ fn main() {
call_me(); call_me();
} }
fn call_me(num: i32) { fn call_me(num: u32) {
for i in 0..num { for i in 0..num {
println!("Ring! Call number {}", i + 1); println!("Ring! Call number {}", i + 1);
} }