Fix foo in sentence.
This commit is contained in:
Родитель
c11184ff66
Коммит
35a6a18aea
|
@ -59,7 +59,7 @@ _Rationale:_ Explicit `if let`-binding of optionals results in safer code. Force
|
|||
|
||||
#### Avoid Using Implicitly Unwrapped Optionals
|
||||
|
||||
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 `!`).
|
||||
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 `!`).
|
||||
|
||||
_Rationale:_ Explicit optionals result in safer code. Implicitly unwrapped optionals have the potential of crashing at runtime.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче