]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #24742 - mbrubeck:keywords, r=steveklabnik
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 24 Apr 2015 04:18:50 +0000 (09:48 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Fri, 24 Apr 2015 04:18:50 +0000 (09:48 +0530)
 * Add two missing keywords, `Self` and `proc`
* Fix some mis-alphabetized keywords

r? @steveklabnik

src/doc/reference.md

index 3e8aa7c3ad0b474158255176fc6a9bccb8823698..46d71210f8bd3057b308c979b012ae0c3b724d3a 100644 (file)
@@ -198,10 +198,11 @@ grammar as double-quoted strings. Other tokens have exact rules given.
 | fn       | for      | if       | impl     | in      |
 | let      | loop     | macro    | match    | mod     |
 | move     | mut      | offsetof | override | priv    |
-| pub      | pure     | ref      | return   | sizeof  |
-| static   | self     | struct   | super    | true    |
-| trait    | type     | typeof   | unsafe   | unsized |
-| use      | virtual  | where    | while    | yield   |
+| proc     | pub      | pure     | ref      | return  |
+| Self     | self     | sizeof   | static   | struct  |
+| super    | trait    | true     | type     | typeof  |
+| unsafe   | unsized  | use      | virtual  | where   |
+| while    | yield    |          |          |         |
 
 
 Each of these keywords has special meaning in its grammar, and all of them are