Skip to content

Commit ba00e61

Browse files
committed
Remove some unnecessary trys
1 parent 1a8726b commit ba00e61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftSyntaxMacros/MacroReplacement.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ extension MacroDeclSyntax {
280280
definition: MacroExpansionExprSyntax,
281281
replacements: [MacroDefinition.Replacement]
282282
) -> ExprSyntax {
283-
return try expand(
283+
return expand(
284284
argumentList: node.argumentList,
285285
definition: definition,
286286
replacements: replacements
@@ -303,7 +303,7 @@ extension MacroDeclSyntax {
303303
argumentList = nil
304304
}
305305

306-
return try expand(
306+
return expand(
307307
argumentList: argumentList,
308308
definition: definition,
309309
replacements: replacements

0 commit comments

Comments
 (0)