diff options
Diffstat (limited to 'zh-cn/swift-cn.html.markdown')
-rw-r--r-- | zh-cn/swift-cn.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/swift-cn.html.markdown b/zh-cn/swift-cn.html.markdown index 017a7812..cba9252d 100644 --- a/zh-cn/swift-cn.html.markdown +++ b/zh-cn/swift-cn.html.markdown @@ -373,7 +373,7 @@ internal class Rect: Shape { func shrink() { if sideLength > 0 { - --sideLength + sideLength -= 1 } } |