Skip to content

Commit 72dec7e

Browse files
committed
Update and organize the Keywords table
* Add two missing keywords, `Self` and `proc` * Fix some mis-alphabetized keywords
1 parent 1b87837 commit 72dec7e

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
@@ -197,10 +197,11 @@ grammar as double-quoted strings. Other tokens have exact rules given.
197197
| fn | for | if | impl | in |
198198
| let | loop | macro | match | mod |
199199
| move | mut | offsetof | override | priv |
200-
| pub | pure | ref | return | sizeof |
201-
| static | self | struct | super | true |
202-
| trait | type | typeof | unsafe | unsized |
203-
| use | virtual | where | while | yield |
200+
| proc | pub | pure | ref | return |
201+
| Self | self | sizeof | static | struct |
202+
| super | trait | true | type | typeof |
203+
| unsafe | unsized | use | virtual | where |
204+
| while | yield | | | |
204205

205206

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

0 commit comments

Comments
 (0)