Fix typo in example (#4222)

This commit is contained in:
JP Simard
2022-09-19 15:51:21 -04:00
committed by GitHub
parent 8d500d1a63
commit 0808f2508b
@@ -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")