Skip to content

Commit 4aa2377

Browse files
jawwadrayfix
authored andcommitted
Add missing word (kodecocodes#243)
"rather than an instance" -> "rather than on an instance"
1 parent c714337 commit 4aa2377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ Constants are defined using the `let` keyword, and variables with the `var` keyw
515515

516516
**Tip:** A good technique is to define everything using `let` and only change it to `var` if the compiler complains!
517517

518-
You can define constants on a type rather than an instance of that type using type properties. To declare a type property as a constant simply use `static let`. Type properties declared in this way are generally preferred over global constants because they are easier to distinguish from instance properties. Example:
518+
You can define constants on a type rather than on an instance of that type using type properties. To declare a type property as a constant simply use `static let`. Type properties declared in this way are generally preferred over global constants because they are easier to distinguish from instance properties. Example:
519519

520520
**Preferred:**
521521
```swift

0 commit comments

Comments
 (0)