From 74fadfaeeaa31ec8ef92622c009131990dd9a936 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 20 May 2015 17:19:57 -0400 Subject: [PATCH] Change "must" to "may only" in macro future proofing rules. They don't have to be followed by anything. --- src/doc/trpl/macros.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md index cc7d9b595f9..a45d4824f41 100644 --- a/src/doc/trpl/macros.md +++ b/src/doc/trpl/macros.md @@ -476,9 +476,9 @@ which syntactic form it matches. There are additional rules regarding the next token after a metavariable: -* `expr` variables must be followed by one of: `=> , ;` -* `ty` and `path` variables must be followed by one of: `=> , : = > as` -* `pat` variables must be followed by one of: `=> , =` +* `expr` variables may only be followed by one of: `=> , ;` +* `ty` and `path` variables may only be followed by one of: `=> , : = > as` +* `pat` variables may only be followed by one of: `=> , =` * Other variables may be followed by any token. These rules provide some flexibility for Rust’s syntax to evolve without