Skip to content

Commit 81eb0d9

Browse files
authored
Fix typo in ClosureSpacingRule.swift (realm#3669)
occurences -> occurrences
1 parent 9939c53 commit 81eb0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/SwiftLintFramework/Rules/Style/ClosureSpacingRule.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public struct ClosureSpacingRule: CorrectableRule, ConfigurationProviderRule, Op
7575
let linesTokens = file.syntaxTokensByLines
7676
let kindsToExclude = SyntaxKind.commentAndStringKinds
7777

78-
// find all lines and occurences of open { and closed } braces
78+
// find all lines and occurrences of open { and closed } braces
7979
var linesWithBraces = [[NSRange]]()
8080
for eachLine in file.lines {
8181
guard let nsrange = lineContainsBraces(in: eachLine.range, content: nsstring) else {

0 commit comments

Comments
 (0)