Skip to content

Commit 292a25f

Browse files
committed
Rollup merge of rust-lang#24742 - mbrubeck:keywords, r=steveklabnik
* Add two missing keywords, `Self` and `proc` * Fix some mis-alphabetized keywords r? @steveklabnik
2 parents 9863f2c + 17390a1 commit 292a25f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/doc/reference.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,11 @@ grammar as double-quoted strings. Other tokens have exact rules given.
198198
| fn | for | if | impl | in |
199199
| let | loop | macro | match | mod |
200200
| move | mut | offsetof | override | priv |
201-
| pub | pure | ref | return | sizeof |
202-
| static | self | struct | super | true |
203-
| trait | type | typeof | unsafe | unsized |
204-
| use | virtual | where | while | yield |
201+
| proc | pub | pure | ref | return |
202+
| Self | self | sizeof | static | struct |
203+
| super | trait | true | type | typeof |
204+
| unsafe | unsized | use | virtual | where |
205+
| while | yield | | | |
205206

206207

207208
Each of these keywords has special meaning in its grammar, and all of them are

0 commit comments

Comments
 (0)