diff --git a/README.md b/README.md index e814adb..e09f2b3 100644 --- a/README.md +++ b/README.md @@ -854,7 +854,7 @@ _You can enable the following settings in Xcode by running [this script](resourc -* (link) **Omit explicit `.init` when not reqired.** [![SwiftFormat: redundantInit](https://img.shields.io/badge/SwiftFormat-redundantInit-7B0051.svg)](https://github.com/nicklockwood/SwiftFormat/blob/master/Rules.md#redundantInit) +* (link) **Omit explicit `.init` when not required.** [![SwiftFormat: redundantInit](https://img.shields.io/badge/SwiftFormat-redundantInit-7B0051.svg)](https://github.com/nicklockwood/SwiftFormat/blob/master/Rules.md#redundantInit)
@@ -1655,7 +1655,7 @@ _You can enable the following settings in Xcode by running [this script](resourc ```swift // WRONG - func age(of person, bornAt timeInterval) -> Int { + func age(of person: Person, bornAt: TimeInterval) -> Int { // ... }