mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Fix incomplete example (#3396)
This commit is contained in:
@@ -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)")
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user