mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Fix typo in example (#4222)
This commit is contained in:
@@ -14,7 +14,7 @@ public struct EmptyParametersRule: ConfigurationProviderRule, SubstitutionCorrec
|
||||
nonTriggeringExamples: [
|
||||
Example("let abc: () -> Void = {}\n"),
|
||||
Example("func foo(completion: () -> Void)\n"),
|
||||
Example("func foo(completion: () thows -> Void)\n"),
|
||||
Example("func foo(completion: () throws -> Void)\n"),
|
||||
Example("let foo: (ConfigurationTests) -> Void throws -> Void)\n"),
|
||||
Example("let foo: (ConfigurationTests) -> Void throws -> Void)\n"),
|
||||
Example("let foo: (ConfigurationTests) ->Void throws -> Void)\n")
|
||||
|
||||
Reference in New Issue
Block a user