@@ -210,19 +210,19 @@ The keywords in [source files](#source-files) are the following strings:
210
210
211
211
~~~~~~~~ {.keyword}
212
212
alt assert
213
- break
213
+ be break
214
214
check claim class const cont copy crust
215
- do
215
+ drop
216
216
else enum export
217
217
fail false fn for
218
218
if iface impl import
219
219
let log loop
220
220
mod mut
221
- native
221
+ native new
222
222
pure
223
223
resource ret
224
- true type
225
- unsafe use
224
+ true trait type
225
+ unchecked unsafe
226
226
while
227
227
~~~~~~~~
228
228
@@ -746,7 +746,7 @@ fn main() {
746
746
##### Export declarations
747
747
748
748
~~~~~~~~ {.ebnf .gram}
749
- export_decl : "export" ident [ ',' ident ] *
749
+ export_decl : "export" ident [ ',' ident ] *
750
750
| "export" ident "::{}"
751
751
| "export" ident '{' ident [ ',' ident ] * '}' ;
752
752
~~~~~~~~
@@ -812,12 +812,12 @@ implicitly exports all of `t`'s constructors. For example:
812
812
~~~~~~~~
813
813
mod foo {
814
814
export t;
815
-
815
+
816
816
enum t {a, b, c}
817
817
}
818
818
~~~~~~~~
819
819
820
- Here, ` foo ` imports ` t ` , ` a ` , ` b ` , and ` c ` .
820
+ Here, ` foo ` imports ` t ` , ` a ` , ` b ` , and ` c ` .
821
821
822
822
The second and third forms of export declaration can be used to export
823
823
an ` enum ` item without exporting all of its constructors. These two
@@ -834,7 +834,7 @@ mod foo {
834
834
835
835
enum abstract {x, y, z}
836
836
enum slightly_abstract {a, b, c, d}
837
- }
837
+ }
838
838
~~~~~~~~
839
839
840
840
Module ` foo ` exports the types ` abstract ` and ` slightly_abstract ` , as well as
@@ -1078,7 +1078,7 @@ An _enumeration item_ simultaneously declares a new nominal
1078
1078
[ enumerated type] ( #enumerated-types ) as well as a set of * constructors* that
1079
1079
can be used to create or pattern-match values of the corresponding enumerated
1080
1080
type. Note that ` enum ` previously was referred to as a ` tag ` , however this
1081
- definition has been deprecated. While ` tag ` is no longer used, the two are
1081
+ definition has been deprecated. While ` tag ` is no longer used, the two are
1082
1082
synonymous.
1083
1083
1084
1084
The constructors of an ` enum ` type may be recursive: that is, each constructor
0 commit comments