8000 Merge pull request #34 from morizotter/fix-code-in-sentence · sync2003/swift-style-guide@f35513f · GitHub
[go: up one dir, main page]

Skip to content

Commit f35513f

Browse files
author
niwatako
committed
Merge pull request github#34 from morizotter/fix-code-in-sentence
Fix foo in sentence.
2 parents f058399 + b33c499 commit f35513f

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