Skip to content

Commit 3482187

Browse files
DougGregorAnthonyLatsis
authored andcommitted
Improve formatting
(cherry picked from commit a298b41)
1 parent e5c08f7 commit 3482187

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax/SyntaxNodesFile.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ func syntaxNode(nodesStartingWith: [Character]) -> SourceFileSyntax {
176176
// If needed, this could be added in the future, but for now withUnexpected should be sufficient.
177177
if let childNode = SYNTAX_NODE_MAP[child.syntaxNodeKind]?.collectionNode,
178178
!child.isUnexpectedNodes,
179-
case .collection(_, collectionElementName: let childElt?, _, _, generateDeprecatedAddFunction: true) = child
180-
.kind
179+
case .collection(_, collectionElementName: let childElt?, _, _, generateDeprecatedAddFunction: true) =
180+
child.kind
181181
{
182182
let childEltType = childNode.collectionElementType.syntaxBaseName
183183

0 commit comments

Comments
 (0)