Skip to content

Commit a31a5d0

Browse files
committed
Call $ident:kind a macro matcher fragment specifier
In writing RFC 3531, I came to believe that the most correct fully qualified term for what `kind` is in `$ident:kind` is a "macro matcher fragment specifier", and I still think that's right. It's unfortunate that it's such a mouthful, but let's use that term in the syntax index.
1 parent 86fd49c commit a31a5d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/syntax-index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ This appendix provides an index of tokens and common forms with links to where t
150150
|-------------------------------------------|-------|
151151
| `ident!(…)`<br>`ident!{…}`<br>`ident![…]` | [macro invocations] |
152152
| `$ident` | [macro fragment substitution] |
153-
| `$ident:kind` | [macro fragment specifier] |
153+
| `$ident:kind` | [macro matcher fragment specifier] |
154154
| `$(…)…` | [macro repetition] |
155155

156156
## Attributes
@@ -354,10 +354,10 @@ This appendix provides an index of tokens and common forms with links to where t
354354
[lifetimes and loop labels]: lex.token.life
355355
[literal patterns]: patterns.literal
356356
[macro calls]: macro.invocation
357-
[macro fragment specifier]: macro.decl.meta.specifier
358357
[macro fragment substitution]: macro.decl.meta.transcription
359358
[macro invocations]: macro.invocation
360359
[macro Kleene matcher]: macro.decl.repetition
360+
[macro matcher fragment specifier]: macro.decl.meta.specifier
361361
[macro repetition]: macro.decl.repetition
362362
[macros by example]: macro.decl
363363
[macros]: macro.decl

0 commit comments

Comments
 (0)