Skip to content

Commit db41cc5

Browse files
committed
whitespace
1 parent 8f04c49 commit db41cc5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CodeGeneration/Sources/SyntaxSupport/KeywordSpec.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,9 @@ public enum Keyword: CaseIterable {
692692
case .wrt:
693693
return KeywordSpec("wrt")
694694
case .yield:
695-
return KeywordSpec("yield")
695+
return KeywordSpec("yield")
696696
case .yielding:
697-
return KeywordSpec("yielding")
697+
return KeywordSpec("yielding")
698698
}
699699
}
700700
}

Sources/SwiftParser/Declarations.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,11 +1704,11 @@ extension Parser {
17041704
let (unexpectedBeforeIntroducer, introducer) = self.expect(kind.spec)
17051705

17061706
// Map `yielding borrow` => `read`, etc.
1707-
let resolvedKind : AccessorDeclSyntax.AccessorSpecifierOptions
1707+
let resolvedKind: AccessorDeclSyntax.AccessorSpecifierOptions
17081708
if yielding {
17091709
switch kind {
1710-
case .borrow: resolvedKind = .read // `yielding borrow` == `read`
1711-
case .mutate: resolvedKind = .modify // `yielding mutate` == `modify`
1710+
case .borrow: resolvedKind = .read // `yielding borrow` == `read`
1711+
case .mutate: resolvedKind = .modify // `yielding mutate` == `modify`
17121712
default: resolvedKind = kind
17131713
}
17141714
} else {

0 commit comments

Comments
 (0)