Skip to content

Commit

Permalink
Update capitalisation in 3.4.4 for newer Swift versions, to match exa…
Browse files Browse the repository at this point in the history
…mple (#18)
  • Loading branch information
Søren Mortensen authored and cezarywojcik committed Oct 31, 2017
1 parent 7bc410c commit a1fd0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ You can override existing operators to support new types (especially `==`). Howe

* **3.4.3** The `case` statements should line up with the `switch` statement itself as per default Swift standards.

* **3.4.4** When defining a case that has an associated value, make sure that this value is appropriately labeled as opposed to just types (e.g. `case Hunger(hungerLevel: Int)` instead of `case Hunger(Int)`).
* **3.4.4** When defining a case that has an associated value, make sure that this value is appropriately labeled as opposed to just types (e.g. `case hunger(hungerLevel: Int)` instead of `case hunger(Int)`).

```swift
enum Problem {
Expand Down

0 comments on commit a1fd0c1

Please sign in to comment.