Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
presto95 committed Apr 4, 2019
1 parent a4ea3a4 commit 0d239e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ func computeFFT(context: Context?, inputData: InputData?) throws -> Frequencies
}
```

When multiple optionals are unwrapped either with `guard` or `if let`, minimize nesting by using the compound version when possible. In the compound version, place the `guard` on its own line, then ident each condition on its own line. The `else` clause is indented to match the conditions and the code is indented one additional level, as shown below. Example:
When multiple optionals are unwrapped either with `guard` or `if let`, minimize nesting by using the compound version when possible. In the compound version, place the `guard` on its own line, then indent each condition on its own line. The `else` clause is indented to match the conditions and the code is indented one additional level, as shown below. Example:

**Preferred**:
```swift
Expand Down Expand Up @@ -1105,7 +1105,7 @@ Smiley faces are a very prominent style feature of the [raywenderlich.com](https
**Not Preferred**:
```
:)
```
```

## References

Expand Down

0 comments on commit 0d239e7

Please sign in to comment.