Skip to content

Commit 11931e8

Browse files
authored
Merge pull request #324 from durka/stabilize-macro-lifetime
document :lifetime
2 parents 28dfc8c + d232023 commit 11931e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/macros-by-example.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ syntax named by _designator_. Valid designators are:
3030
* `path`: a [path]
3131
* `tt`: a token tree (a single [token] by matching `()`, `[]`, or `{}`)
3232
* `meta`: the contents of an [attribute]
33+
* `lifetime`: a lifetime. Examples: `'static`, `'a`.
3334

3435
[item]: items.html
3536
[block]: expressions/block-expr.html

0 commit comments

Comments
 (0)