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:
|
small:
|
||||||
- smallntp
|
- small_no_tuple
|
||||||
- unary tuple constructor: `(` smallntp `,` `)`
|
- unary tuple constructor: `(` small_no_tuple `,` `)`
|
||||||
- `&` small
|
- `&` small
|
||||||
|
|
||||||
smallntp:
|
small_no_tuple:
|
||||||
- single token
|
- single token
|
||||||
- `&` smallntp
|
- `&` small_no_tuple
|
||||||
```
|
```
|
||||||
|
|
||||||
E.g., `&&Some(foo)` matches, `Foo(4, Bar)` does not.
|
E.g., `&&Some(foo)` matches, `Foo(4, Bar)` does not.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user