summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/swift-cn.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'zh-cn/swift-cn.html.markdown')
-rw-r--r--zh-cn/swift-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/swift-cn.html.markdown b/zh-cn/swift-cn.html.markdown
index d5883464..d55f1aef 100644
--- a/zh-cn/swift-cn.html.markdown
+++ b/zh-cn/swift-cn.html.markdown
@@ -574,7 +574,7 @@ println(foundAtIndex == 2) // true
// 甚至是 Unicode 的数学运算符等
prefix operator !!! {}
-// 定义一个前缀运算符,使矩形的边长放大三位
+// 定义一个前缀运算符,使矩形的边长放大倍
prefix func !!! (inout shape: Square) -> Square {
shape.sideLength *= 3
return shape