Skip to content

Commit 4492e7c

Browse files
authored
Merge pull request #3890 from nschucky/patch-1
Update OptimizationTips.rst adding colon for array declaration
2 parents aee7a8b + cee7d90 commit 4492e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/OptimizationTips.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ in the following ``C.array1`` and ``D.array1`` will be accessed directly
120120
}
121121

122122
class D {
123-
final var array1 [Int] // 'array1' cannot be overridden by a computed property.
123+
final var array1: [Int] // 'array1' cannot be overridden by a computed property.
124124
var array2: [Int] // 'array2' *can* be overridden by a computed property.
125125
}
126126

0 commit comments

Comments
 (0)