]> git.lizzy.rs Git - rust.git/commitdiff
Update and organize the Keywords table
authorMatt Brubeck <mbrubeck@limpet.net>
Thu, 23 Apr 2015 21:14:15 +0000 (14:14 -0700)
committerMatt Brubeck <mbrubeck@limpet.net>
Thu, 23 Apr 2015 21:15:42 +0000 (14:15 -0700)
* Add two missing keywords, `Self` and `proc`
* Fix some mis-alphabetized keywords

src/doc/reference.md

index d918a320e63a909c3298c213cb2188ddab0492b0..80ab69f0cf8b8392a12aaf52f739b6e8d3a68926 100644 (file)
@@ -196,10 +196,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