Skip to content

Commit 8a2975c

Browse files
authored
Update 0397-freestanding-declaration-macros.md
The required method for `DeclarationMacro` conformance isn't actually `async`.
1 parent caca176 commit 8a2975c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0397-freestanding-declaration-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public protocol DeclarationMacro: FreestandingMacro {
4141
static func expansion(
4242
of node: some FreestandingMacroExpansionSyntax,
4343
in context: some MacroExpansionContext
44-
) async throws -> [DeclSyntax]
44+
) throws -> [DeclSyntax]
4545
}
4646
```
4747

0 commit comments

Comments
 (0)