Skip to content

Commit 8ce6516

Browse files
committed
Go with "constant items" for _ in index
In the keywords table in the syntax index, every entry except the one for constant items for `_` consists entirely of a link body. For that one, though, we had left "unnamed" out of the link body. Visually, that just stands out too much. We could just put "unnamed" in the link body, but most of the other entries aren't really that specific. It seems OK to just say "constant items" for this, so let's do that.
1 parent 716cea8 commit 8ce6516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syntax-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This appendix provides an index of tokens and common forms with links to where t
66

77
| Keyword | Usage |
88
|---------------|-------|
9-
| `_` | [wildcard pattern], [inferred const], [inferred type], [placeholder lifetime], unnamed [constant items], [extern crate], [use declarations], [destructuring assignment] |
9+
| `_` | [wildcard pattern], [inferred const], [inferred type], [placeholder lifetime], [constant items], [extern crate], [use declarations], [destructuring assignment] |
1010
| `abstract` | [reserved keyword] |
1111
| `as` | [extern crate][items.extern-crate.as], [use declarations][items.use.forms.as], [type cast expressions], [qualified paths] |
1212
| `async` | [async functions], [async blocks], [async closures] |

0 commit comments

Comments
 (0)