Skip to content

Commit a921722

Browse files
authored
Merge pull request #1008 from jakevossen5/master
added macro_rules to weak keywords
2 parents bf03819 + 6eb3e87 commit a921722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/keywords.md

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ The following keywords are reserved beginning in the 2018 edition.
9595
These keywords have special meaning only in certain contexts. For example, it
9696
is possible to declare a variable or method with the name `union`.
9797

98+
* `macro_rules` is used to create custom [macros].
9899
* `union` is used to declare a [union] and is only a keyword when used in a
99100
union declaration.
100101
* `'static` is used for the static lifetime and cannot be used as a [generic

0 commit comments

Comments
 (0)