8000 Replace is with are in Rationale · linuxul/swift-style-guide@ebd10dc · GitHub
[go: up one dir, main page]

Skip to content

Commit ebd10dc

Browse files
authored
Replace is with are in Rationale
Sentence refers to "intent and meaning" which are plural.
1 parent 60ae553 commit ebd10dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ then open a pull request. :zap:
2525

2626
Use `let foo = …` over `var foo = …` wherever possible (and when in doubt). Only use `var` if you absolutely have to (i.e. you *know* that the value might change, e.g. when using the `weak` storage modifier).
2727

28-
_Rationale:_ The intent and meaning of both keywords is clear, but *let-by-default* results in safer and clearer code.
28+
_Rationale:_ The intent and meaning of both keywords are clear, but *let-by-default* results in safer and clearer code.
2929

3030
A `let`-binding guarantees and *clearly signals to the programmer* that its value will never change. Subsequent code can thus make stronger assumptions about its usage.
3131

@@ -117,7 +117,7 @@ subscript(index: Int) -> T {
117117
}
118118
```
119119

120-
_Rationale:_ The intent and meaning of the first version is clear, and results in less code.
120+
_Rationale:_ The intent and meaning of the first version are clear, and results in less code.
121121

122122
#### Always specify access control explicitly for top-level definitions
123123

0 commit comments

Comments
 (0)
0