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:
parent
cde67f6557
commit
79df44ba78
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user