From 64ea022b1b6c289760ab9f0139bb2c042fb89a0e Mon Sep 17 00:00:00 2001 From: chenhao Date: Tue, 19 Jan 2016 17:14:19 +0800 Subject: [PATCH] add end --- source-tw/chapter2/06_Functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-tw/chapter2/06_Functions.md b/source-tw/chapter2/06_Functions.md index 6e3c5e5b..f67c6daf 100644 --- a/source-tw/chapter2/06_Functions.md +++ b/source-tw/chapter2/06_Functions.md @@ -76,7 +76,7 @@ println(sayHelloAgain("Anna")) func halfOpenRangeLength(start: Int, end: Int) -> Int { return end - start } -println(halfOpenRangeLength(1, 10)) +println(halfOpenRangeLength(1, end:10)) // prints "9" ```