Skip to content

Commit 64ea022

Browse files
author
chenhao
committedJan 19, 2016
add end
1 parent d45fb7a commit 64ea022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎source-tw/chapter2/06_Functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ println(sayHelloAgain("Anna"))
7676
func halfOpenRangeLength(start: Int, end: Int) -> Int {
7777
return end - start
7878
}
79-
println(halfOpenRangeLength(1, 10))
79+
println(halfOpenRangeLength(1, end:10))
8080
// prints "9"
8181
```
8282

0 commit comments

Comments
 (0)
Please sign in to comment.