8000 Fix foo in sentence. · r4jiv007/swift-style-guide@35a6a18 · GitHub
[go: up one dir, main page]

Skip to content

Commit 35a6a18

Browse files
committed
Fix foo in sentence.
1 parent c11184f commit 35a6a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ _Rationale:_ Explicit `if let`-binding of optionals results in safer code. Force
5959

6060
#### Avoid Using Implicitly Unwrapped Optionals
6161

62-
Where possible, use `let foo: FooType?` instead of `let foo: FooType!` if foo may be nil (Note that in general, `?` can be used instead of `!`).
62+
Where possible, use `let foo: FooType?` instead of `let foo: FooType!` if `foo` may be nil (Note that in general, `?` can be used instead of `!`).
6363

6464
_Rationale:_ Explicit optionals result in safer code. Implicitly unwrapped optionals have the potential of crashing at runtime.
6565

0 commit comments

Comments
 (0)
0