From b000a64f033dde09264d1797f3ebfb9f21304fa4 Mon Sep 17 00:00:00 2001 From: Sho Nakatani Date: Fri, 30 Dec 2016 18:04:47 +0900 Subject: [PATCH] fixes functions2 --- functions/functions2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/functions2.rs b/functions/functions2.rs index 97ed8f1..4471ccd 100644 --- a/functions/functions2.rs +++ b/functions/functions2.rs @@ -4,7 +4,7 @@ fn main() { call_me(3); } -fn call_me(num) { +fn call_me(num: i32) { for i in 0..num { println!("Ring! Call number {}", i + 1); }