Skip to content

Commit d2b01fc

Browse files
committed
Fix build warning: eachKeyword was renamed to specifier
1 parent 26fbd13 commit d2b01fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftFormat/PrettyPrint/TokenStreamCreator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2369,7 +2369,7 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
23692369

23702370
override func visit(_ node: GenericParameterSyntax) -> SyntaxVisitorContinueKind {
23712371
before(node.firstToken(viewMode: .sourceAccurate), tokens: .open)
2372-
after(node.eachKeyword, tokens: .break)
2372+
after(node.specifier, tokens: .break)
23732373
after(node.colon, tokens: .break)
23742374
if let trailingComma = node.trailingComma {
23752375
after(trailingComma, tokens: .close, .break(.same))

0 commit comments

Comments
 (0)