diff options
| author | bors <bors@rust-lang.org> | 2014-10-29 15:17:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-29 15:17:01 +0000 |
| commit | dd7113609c17cc31fee4b54d954e71e01af3bcc9 (patch) | |
| tree | ae6d529c58ab74e165a8b5f59b12de99c8a55180 | |
| parent | 3bc545373df4c81ba223a8bece14cbc27eb85a4d (diff) | |
| parent | b7e177d242dc0aad1a673a4269ae630e85e2245c (diff) | |
| download | rust-dd7113609c17cc31fee4b54d954e71e01af3bcc9.tar.gz rust-dd7113609c17cc31fee4b54d954e71e01af3bcc9.zip | |
auto merge of #18375 : steveklabnik/rust/gh17969, r=alexcrichton
Fixes #17969
| -rw-r--r-- | src/doc/reference.md | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 11bf895341b..f723bbe30b7 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -185,28 +185,29 @@ grammar as double-quoted strings. Other tokens have exact rules given. ### Keywords -<p id="keyword-table-marker">The keywords are the following strings, organized by first letter:</p> - -| | | | | -|----------|--------|--------|-------| -| as | | | | -| box | break | | | -| continue | crate | | | -| else | enum | extern | | -| false | fn | for | | -| if | impl | in | | -| let | loop | | | -| match | mod | mut | | -| priv | proc | pub | | -| ref | return | | | -| self | static | struct | super | -| trait | true | type | | -| unsafe | use | | | -| while | | | | +<p id="keyword-table-marker"></p> + +| | | | | | +|----------|----------|----------|----------|--------| +| abstract | alignof | as | be | box | +| break | const | continue | crate | do | +| else | enum | extern | false | final | +| fn | for | if | impl | in | +| let | loop | match | mod | move | +| mut | offsetof | once | override | priv | +| proc | pub | pure | ref | return | +| sizeof | static | self | struct | super | +| true | trait | type | typeof | unsafe | +| unsized | use | virtual | where | while | +| yield | | | | | + Each of these keywords has special meaning in its grammar, and all of them are excluded from the `ident` rule. +Note that some of these keywords are reserved, and do not currently do +anything. + ### Literals A literal is an expression consisting of a single token, rather than a sequence |
