Skip to content

Commit ef8232d

Browse files
authored
Fix typo in macro name (#316)
2 parents cf86ef1 + 94fd7f9 commit ef8232d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TSPL.docc/LanguageGuide/Macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public macro OptionSet<RawType>() =
274274
```
275275

276276
In the declaration above,
277-
the `@attached(member)` macro includes arguments after the `named:` label
277+
the `@attached(member)` macro includes arguments after the `names:` label
278278
for each of the symbols that the `@OptionSet` macro generates.
279279
The macro adds declarations for symbols named
280280
`RawValue`, `rawValue`, and `init` ---

0 commit comments

Comments
 (0)