summaryrefslogtreecommitdiffhomepage
path: root/pt-pt
diff options
context:
space:
mode:
authorEvan <JustBlah@users.noreply.github.com>2016-10-01 23:33:04 +0300
committerven <vendethiel@hotmail.fr>2016-10-01 22:33:04 +0200
commit9234c9fea4d2db040e73def518117f4135d71940 (patch)
tree829e526f89bdd101b7c758b75f0cf9d37e667188 /pt-pt
parenta8704d313b8dcb97ba105da474293ad0d6adf9dd (diff)
Update Swift pre-decrement syntax to match v3.0 (#2395)
Diffstat (limited to 'pt-pt')
-rw-r--r--pt-pt/swift.html.markdown2
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
}
}