Skip to content

Commit dd71136

Browse files
committed
auto merge of #18375 : steveklabnik/rust/gh17969, r=alexcrichton
Fixes #17969
2 parents 3bc5453 + b7e177d commit dd71136

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

src/doc/reference.md

+19-18
Original file line numberDiff line numberDiff line change
@@ -185,28 +185,29 @@ grammar as double-quoted strings. Other tokens have exact rules given.
185185

186186
### Keywords
187187

188-
<p id="keyword-table-marker">The keywords are the following strings, organized by first letter:</p>
189-
190-
| | | | |
191-
|----------|--------|--------|-------|
192-
| as | | | |
193-
| box | break | | |
194-
| continue | crate | | |
195-
| else | enum | extern | |
196-
| false | fn | for | |
197-
| if | impl | in | |
198-
| let | loop | | |
199-
| match | mod | mut | |
200-
| priv | proc | pub | |
201-
| ref | return | | |
202-
| self | static | struct | super |
203-
| trait | true | type | |
204-
| unsafe | use | | |
205-
| while | | | |
188+
<p id="keyword-table-marker"></p>
189+
190+
| | | | | |
191+
|----------|----------|----------|----------|--------|
192+
| abstract | alignof | as | be | box |
193+
| break | const | continue | crate | do |
194+
| else | enum | extern | false | final |
195+
| fn | for | if | impl | in |
196+
| let | loop | match | mod | move |
197+
| mut | offsetof | once | override | priv |
198+
| proc | pub | pure | ref | return |
199+
| sizeof | static | self | struct | super |
200+
| true | trait | type | typeof | unsafe |
201+
| unsized | use | virtual | where | while |
202+
| yield | | | | |
203+
206204

207205
Each of these keywords has special meaning in its grammar, and all of them are
208206
excluded from the `ident` rule.
209207

208+
Note that some of these keywords are reserved, and do not currently do
209+
anything.
210+
210211
### Literals
211212

212213
A literal is an expression consisting of a single token, rather than a sequence

0 commit comments

Comments
 (0)