Skip to content

Commit 94676f0

Browse files
mdingerManishearth
authored andcommitted
Remove keywords from reference because they're already in grammar
1 parent 272cc7a commit 94676f0

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

reference.md

-25
Original file line numberDiff line numberDiff line change
@@ -134,31 +134,6 @@ Tokens are primitive productions in the grammar defined by regular
134134
production](#string-table-productions) form, and occur in the rest of the
135135
grammar as double-quoted strings. Other tokens have exact rules given.
136136

137-
### Keywords
138-
139-
<p id="keyword-table-marker"></p>
140-
141-
| | | | | |
142-
|----------|----------|----------|----------|---------|
143-
| abstract | alignof | as | become | box |
144-
| break | const | continue | crate | do |
145-
| else | enum | extern | false | final |
146-
| fn | for | if | impl | in |
147-
| let | loop | macro | match | mod |
148-
| move | mut | offsetof | override | priv |
149-
| proc | pub | pure | ref | return |
150-
| Self | self | sizeof | static | struct |
151-
| super | trait | true | type | typeof |
152-
| unsafe | unsized | use | virtual | where |
153-
| while | yield | | | |
154-
155-
156-
Each of these keywords has special meaning in its grammar, and all of them are
157-
excluded from the `ident` rule.
158-
159-
Note that some of these keywords are reserved, and do not currently do
160-
anything.
161-
162137
### Literals
163138

164139
A literal is an expression consisting of a single token, rather than a sequence

0 commit comments

Comments
 (0)