correct typo

This commit is contained in:
Joey Huang 2015-03-03 01:04:19 +08:00
parent cf65d3c084
commit d05baf5bd0

View File

@ -574,7 +574,7 @@ println(foundAtIndex == 2) // true
// 甚至是 Unicode 的数学运算符等 // 甚至是 Unicode 的数学运算符等
prefix operator !!! {} prefix operator !!! {}
// 定义一个前缀运算符,使矩形的边长放大三位 // 定义一个前缀运算符,使矩形的边长放大
prefix func !!! (inout shape: Square) -> Square { prefix func !!! (inout shape: Square) -> Square {
shape.sideLength *= 3 shape.sideLength *= 3
return shape return shape