Skip to content

Commit 694bb95

Browse files
committed
Make definition of fragment specifier path more precise
1 parent 581920f commit 694bb95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/macros-by-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Valid fragment specifiers are:
116116
* `meta`: an [Attr], the contents of an attribute
117117
* `pat`: a [Pattern] (see [macro.decl.meta.edition2021])
118118
* `pat_param`: a [PatternNoTopAlt]
119-
* `path`: a [TypePath] style path
119+
* `path`: a [TypePath]
120120
* `stmt`: a [Statement][grammar-Statement] without the trailing semicolon (except for item statements that require semicolons)
121121
* `tt`: a [TokenTree] (a single [token] or tokens in matching delimiters `()`, `[]`, or `{}`)
122122
* `ty`: a [Type][grammar-Type]

0 commit comments

Comments
 (0)