Skip to content

Commit 2d26857

Browse files
committed
Convert long embedded list to a normal list
1 parent ef564a1 commit 2d26857

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/procedural-macros.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,15 @@ r[macro.proc.proc_macro.behavior]
131131
A function-like macro invocation of a function-like procedural macro will pass what is inside the delimiters of the macro invocation as the input [`TokenStream`] argument, and replace the entire macro invocation with the output [`TokenStream`] of the function.
132132
133133
r[macro.proc.proc_macro.invocation]
134-
Function-like procedural macros may be invoked in any macro invocation position, which includes [statements], [expressions], [patterns], [type expressions], [item] positions, including items in [`extern` blocks], inherent and trait [implementations], and [trait definitions].
134+
Function-like procedural macros may be invoked in any macro invocation position, which includes:
135+
136+
- [statements]
137+
- [expressions]
138+
- [patterns]
139+
- [type expressions]
140+
- [item] positions, including items in [`extern` blocks]
141+
- inherent and trait [implementations]
142+
- [trait definitions]
135143
136144
r[macro.proc.derive]
137145
## Derive macros

0 commit comments

Comments
 (0)