Skip to content

Commit ae15356

Browse files
committed
Fix formatting
1 parent 875bcdb commit ae15356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/_SwiftSyntaxMacros/MacroSystem.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class MacroApplication: SyntaxRewriter {
130130
if case let .expr(exprItem) = item.item,
131131
let exprExpansion = exprItem.as(MacroExpansionExprSyntax.self),
132132
let macro = macroSystem.macros[exprExpansion.macro.text],
133-
let freestandingMacro = macro as? DeclarationMacro.Type
133+
let freestandingMacro = macro as? DeclarationMacro.Type
134134
{
135135
do {
136136
let expandedDecls = try freestandingMacro.expansion(
@@ -180,7 +180,7 @@ class MacroApplication: SyntaxRewriter {
180180
// Expand declaration macros, which produce zero or more declarations.
181181
if let declExpansion = item.decl.as(MacroExpansionDeclSyntax.self),
182182
let macro = macroSystem.macros[declExpansion.macro.text],
183-
let freestandingMacro = macro as? DeclarationMacro.Type
183+
let freestandingMacro = macro as? DeclarationMacro.Type
184184
{
185185
do {
186186
let expandedDecls = try freestandingMacro.expansion(

0 commit comments

Comments
 (0)