style-guide: Rename "smallntp" non-terminal to "small_no_tuple" for clarity

The meaning of "smallntp" was not immediately obvious at a glance.
Rename it to the self-describing "small_no_tuple"
This commit is contained in:
Josh Triplett 2023-07-05 14:49:59 -07:00
parent cde67f6557
commit 79df44ba78

View File

@ -768,13 +768,13 @@ matches "small" in the following grammar:
```
small:
- smallntp
- unary tuple constructor: `(` smallntp `,` `)`
- small_no_tuple
- unary tuple constructor: `(` small_no_tuple `,` `)`
- `&` small
smallntp:
small_no_tuple:
- single token
- `&` smallntp
- `&` small_no_tuple
```
E.g., `&&Some(foo)` matches, `Foo(4, Bar)` does not.