1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-30 01:50:25 +02:00

Update Swift pre-decrement syntax to match v3.0 (#2395)

This commit is contained in:
Evan
2016-10-01 23:33:04 +03:00
committed by ven
parent a8704d313b
commit 9234c9fea4
7 changed files with 65 additions and 65 deletions

View File

@@ -373,7 +373,7 @@ internal class Rect: Shape {
func shrink() {
if sideLength > 0 {
--sideLength
sideLength -= 1
}
}

View File

@@ -378,7 +378,7 @@ internal class Rect: Shape {
func shrink() {
if sideLength > 0 {
--sideLength
sideLength -= 1
}
}

View File

@@ -353,7 +353,7 @@ internal class Rect: Shape {
func shrink() {
if sideLength > 0 {
--sideLength
sideLength -= 1
}
}

View File

@@ -379,7 +379,7 @@ internal class Rect: Shape {
func shrink() {
if sideLength > 0 {
--sideLength
sideLength -= 1
}
}

View File

@@ -374,7 +374,7 @@ internal class Rect: Shape {
func shrink() {
if sideLength > 0 {
--sideLength
sideLength -= 1
}
}

View File

@@ -443,7 +443,7 @@ internal class Rect: Shape {
func shrink() {
if sideLength > 0 {
--sideLength
sideLength -= 1
}
}

View File

@@ -373,7 +373,7 @@ internal class Rect: Shape {
func shrink() {
if sideLength > 0 {
--sideLength
sideLength -= 1
}
}