Change "must" to "may only" in macro future proofing rules.

They don't have to be followed by anything.
This commit is contained in:
Steven Allen 2015-05-20 17:19:57 -04:00
parent d7185dcff1
commit 74fadfaeea

View File

@ -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 Rusts syntax to evolve without