mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-01 07:53:30 +02:00
fix(functions3): improve function argument type (#687)
This commit is contained in:
co-authored by
GitHub
parent
a02b279750
commit
a6509cc4d5
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user