From 6eb3e87af2c7743d6c7c783154cc380c4b0ea270 Mon Sep 17 00:00:00 2001 From: Jake Vossen Date: Tue, 20 Apr 2021 20:10:47 -0600 Subject: [PATCH] added macro_rules to weak keywords --- src/keywords.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/keywords.md b/src/keywords.md index e303b449e..67f1089d8 100644 --- a/src/keywords.md +++ b/src/keywords.md @@ -95,6 +95,7 @@ The following keywords are reserved beginning in the 2018 edition. These keywords have special meaning only in certain contexts. For example, it is possible to declare a variable or method with the name `union`. +* `macro_rules` is used to create custom [macros]. * `union` is used to declare a [union] and is only a keyword when used in a union declaration. * `'static` is used for the static lifetime and cannot be used as a [generic