From 2792ef358c5995ed8e06e8d01bbdcb27ea2f883b Mon Sep 17 00:00:00 2001 From: Tomohiro Kumagai Date: Wed, 4 Oct 2023 02:22:24 +0900 Subject: [PATCH] Replace 'SwiftSystem' with 'SwiftSyntax'. --- TSPL.docc/LanguageGuide/Macros.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TSPL.docc/LanguageGuide/Macros.md b/TSPL.docc/LanguageGuide/Macros.md index da2ce0577..0c3dabf69 100644 --- a/TSPL.docc/LanguageGuide/Macros.md +++ b/TSPL.docc/LanguageGuide/Macros.md @@ -509,7 +509,7 @@ Replace the `some-tag` placeholder in the code above with the Git tag for the version of SwiftSyntax you want to use. Depending on your macro's role, -there's a corresponding protocol from SwiftSystem +there's a corresponding protocol from SwiftSyntax that the macro implementation conforms to. For example, consider `#fourCharacterCode` from the previous section. @@ -571,7 +571,7 @@ so the `FourCharacterCode` type that implements it conforms to the `ExpressionMacro` protocol. The `ExpressionMacro` protocol has one requirement, a `expansion(of:in:)` method that expands the AST. -For the list of macro roles and their corresponding SwiftSystem protocols, +For the list of macro roles and their corresponding SwiftSyntax protocols, see and in .