summaryrefslogtreecommitdiffhomepage
path: root/pt-br/swift-pt.html.markdown
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-br/swift-pt.html.markdown
parenta8704d313b8dcb97ba105da474293ad0d6adf9dd (diff)
Update Swift pre-decrement syntax to match v3.0 (#2395)
Diffstat (limited to 'pt-br/swift-pt.html.markdown')
-rw-r--r--pt-br/swift-pt.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/pt-br/swift-pt.html.markdown b/pt-br/swift-pt.html.markdown
index e840b8cf..4ad67a06 100644
--- a/pt-br/swift-pt.html.markdown
+++ b/pt-br/swift-pt.html.markdown
@@ -353,7 +353,7 @@ internal class Rect: Shape {
func shrink() {
if sideLength > 0 {
- --sideLength
+ sideLength -= 1
}
}