This commit is contained in:
TheLittleBoy
2015-12-31 16:40:51 +08:00
parent 4ee4a41306
commit b717790d0d

View File

@ -437,7 +437,7 @@ func printHelloWorld() {
}
```
这个函数的类型是:`() -> void`,或者叫“没有参数,并返回 `Void` 类型的函数”。
这个函数的类型是:`() -> Void`,或者叫“没有参数,并返回 `Void` 类型的函数”。
<a name="using_function_types"></a>
### 使用函数类型Using Function Types