Skip to content

Commit

Permalink
Merge pull request kodecocodes#307 from presto95/typo
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
rcritz authored Apr 4, 2019
2 parents a4ea3a4 + 0d239e7 commit e1eda32
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 e1eda32

Please sign in to comment.