Fix incomplete example (#3396)

This commit is contained in:
Iulian Onofrei
2020-10-28 21:45:00 +02:00
committed by GitHub
parent 5308e0d167
commit 1950abb3b7
@@ -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)")
],