Skip to content

Commit 1f10a46

Browse files
committed
Some minor rule identifier tweaks
Shooting for some consistency with these.
1 parent e6480e4 commit 1f10a46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/procedural-macros.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,13 @@ Token trees in procedural macros are defined as
348348
and floating point literals.
349349
- Identifiers, including keywords (`ident`, `r#ident`, `fn`)
350350

351-
r[macro.proc.token.conversion-intro]
351+
r[macro.proc.token.conversion.intro]
352352
Mismatches between these two definitions are accounted for when token streams
353353
are passed to and from procedural macros. \
354354
Note that the conversions below may happen lazily, so they might not happen if
355355
the tokens are not actually inspected.
356356

357-
r[macro.proc.token.conversion]
357+
r[macro.proc.token.conversion.to-proc_macro]
358358
When passed to a proc-macro
359359
- All multi-character operators are broken into single characters.
360360
- Lifetimes are broken into a `'` character and an identifier.
@@ -366,7 +366,7 @@ When passed to a proc-macro
366366
- `tt` and `ident` substitutions are never wrapped into such groups and
367367
always represented as their underlying token trees.
368368

369-
r[macro.proc.token.emission]
369+
r[macro.proc.token.conversion.from-proc_macro]
370370
When emitted from a proc macro
371371
- Punctuation characters are glued into multi-character operators
372372
when applicable.

0 commit comments

Comments
 (0)