Skip to content

Commit 9f84c6b

Browse files
committed
Formatting
1 parent 8aae9cd commit 9f84c6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/_SwiftSyntaxMacros/MacroSystem.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ class MacroApplication: SyntaxRewriter {
190190
// Visit the node first.
191191

192192
guard let visitedFunc = visitedNode.as(FunctionDeclSyntax.self),
193-
let attributes = visitedFunc.attributes else {
193+
let attributes = visitedFunc.attributes
194+
else {
194195
return visitedNode
195196
}
196197

@@ -201,7 +202,8 @@ class MacroApplication: SyntaxRewriter {
201202
}
202203

203204
guard let attributeName = customAttr.attributeName.as(SimpleTypeIdentifierSyntax.self)?.name.text,
204-
let macro = macroSystem.macros[attributeName] else {
205+
let macro = macroSystem.macros[attributeName]
206+
else {
205207
return true
206208
}
207209

0 commit comments

Comments
 (0)