fixes functions2

This commit is contained in:
Sho Nakatani 2016-12-30 18:04:47 +09:00
parent ccc9f924bd
commit b000a64f03

View file

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