diff --git a/source/chapter2/06_Functions.md b/source/chapter2/06_Functions.md index 9de8a51a..8933cb26 100644 --- a/source/chapter2/06_Functions.md +++ b/source/chapter2/06_Functions.md @@ -337,7 +337,7 @@ Swift 统一的函数语法足够灵活,可以用来表示任何函数,包 > 注意: > -> 输入输出参数不能有默认值,而且变量参数不能用 `inout` 标记。如果你用 `inout` 标记一个参数,这个参数不能别 `var` 或者 `let` 标记。 +> 输入输出参数不能有默认值,而且可变参数不能用 `inout` 标记。如果你用 `inout` 标记一个参数,这个参数不能被 `var` 或者 `let` 标记。 下面是例子,`swapTwoInts` 函数,有两个分别叫做 `a` 和 `b` 的输出输出参数: