Skip to content

Commit 6b38525

Browse files
authored
Correct SwiftSystem to SwiftSyntax in discussion of macros. (#191)
2 parents f4ed12b + 2792ef3 commit 6b38525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TSPL.docc/LanguageGuide/Macros.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ Replace the `some-tag` placeholder in the code above
509509
with the Git tag for the version of SwiftSyntax you want to use.
510510

511511
Depending on your macro's role,
512-
there's a corresponding protocol from SwiftSystem
512+
there's a corresponding protocol from SwiftSyntax
513513
that the macro implementation conforms to.
514514
For example,
515515
consider `#fourCharacterCode` from the previous section.
@@ -571,7 +571,7 @@ so the `FourCharacterCode` type that implements it
571571
conforms to the `ExpressionMacro` protocol.
572572
The `ExpressionMacro` protocol has one requirement,
573573
a `expansion(of:in:)` method that expands the AST.
574-
For the list of macro roles and their corresponding SwiftSystem protocols,
574+
For the list of macro roles and their corresponding SwiftSyntax protocols,
575575
see <doc:Attributes#attached> and <doc:Attributes#freestanding>
576576
in <doc:Attributes>.
577577

0 commit comments

Comments
 (0)