Skip to content

Commit

Permalink
Fix incomplete example (#3396)
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter authored Oct 28, 2020
1 parent 5308e0d commit 1950abb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public struct PreferZeroOverExplicitInitRule: OptInRule, ConfigurationProviderRu
kind: .idiomatic,
nonTriggeringExamples: [
Example("CGRect(x: 0, y: 0, width: 0, height: 1)"),
Example("CGPoint(x: 0, y: -1"),
Example("CGPoint(x: 0, y: -1)"),
Example("CGSize(width: 2, height: 4)"),
Example("CGVector(dx: -5, dy: 0)")
],
Expand Down

0 comments on commit 1950abb

Please sign in to comment.