diff options
author | Evan <JustBlah@users.noreply.github.com> | 2016-10-01 23:33:04 +0300 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2016-10-01 22:33:04 +0200 |
commit | 9234c9fea4d2db040e73def518117f4135d71940 (patch) | |
tree | 829e526f89bdd101b7c758b75f0cf9d37e667188 /pt-pt | |
parent | a8704d313b8dcb97ba105da474293ad0d6adf9dd (diff) |
Update Swift pre-decrement syntax to match v3.0 (#2395)
Diffstat (limited to 'pt-pt')
-rw-r--r-- | pt-pt/swift.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pt-pt/swift.html.markdown b/pt-pt/swift.html.markdown index 2a964bde..9462ee1c 100644 --- a/pt-pt/swift.html.markdown +++ b/pt-pt/swift.html.markdown @@ -379,7 +379,7 @@ internal class Rect: Shape { func shrink() { if sideLength > 0 { - --sideLength + sideLength -= 1 } } |