Skip to content

Commit 4f86eeb

Browse files
authored
Merge pull request rust-lang#2248 from fmease/frag-spec-path-more-precise
Make definition of fragment specifier `path` more precise
2 parents e6b3010 + 694bb95 commit 4f86eeb

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)