Skip to content

Commit

Permalink
Fix typos in rule 'prefer opaque generic parameter syntax' (airbnb#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jager-yoo authored Oct 18, 2022
1 parent fff6fdc commit 831d3c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2258,9 +2258,9 @@ _You can enable the following settings in Xcode by running [this script](resourc
}

// Also fine, since the generic patameter name is referenced in the function body so can't be removed:
// Also fine, since the generic parameter name is referenced in the function body so can't be removed:
func terraform<Body: PlanetaryBody>(_ planetaryBody: Body) {
plataryBody.generateAtmosphere(Body.idealAtmosphere)
planetaryBody.generateAtmosphere(Body.idealAtmosphere)
}
```

Expand Down

0 comments on commit 831d3c2

Please sign in to comment.