mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-22 19:28:10 -05:00
fix(functions3): improve function argument type (#687)
This commit is contained in:
parent
a02b279750
commit
a6509cc4d5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue