Skip to content

Commit 17390a1

Browse files
committed
Update and organize the Keywords table
* Add two missing keywords, `Self` and `proc` * Fix some mis-alphabetized keywords
1 parent 65f8899 commit 17390a1

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

204205

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

0 commit comments

Comments
 (0)