Skip to content

Commit c4ae3ca

Browse files
committed
---
yaml --- r: 13019 b: refs/heads/master c: 829c983 h: refs/heads/master i: 13017: 8512103 13015: 41023ee v: v3
1 parent 27f3c72 commit c4ae3ca

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ccd8d5573ea41fbcdd2b8212f7ec28876e15fd32
2+
refs/heads/master: 829c9834791cfccb6f79f860beec2f1fc4f1284d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/doc/rust.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -210,19 +210,19 @@ The keywords in [source files](#source-files) are the following strings:
210210

211211
~~~~~~~~ {.keyword}
212212
alt assert
213-
break
213+
be break
214214
check claim class const cont copy crust
215-
do
215+
drop
216216
else enum export
217217
fail false fn for
218218
if iface impl import
219219
let log loop
220220
mod mut
221-
native
221+
native new
222222
pure
223223
resource ret
224-
true type
225-
unsafe use
224+
true trait type
225+
unchecked unsafe
226226
while
227227
~~~~~~~~
228228

@@ -746,7 +746,7 @@ fn main() {
746746
##### Export declarations
747747

748748
~~~~~~~~ {.ebnf .gram}
749-
export_decl : "export" ident [ ',' ident ] *
749+
export_decl : "export" ident [ ',' ident ] *
750750
| "export" ident "::{}"
751751
| "export" ident '{' ident [ ',' ident ] * '}' ;
752752
~~~~~~~~
@@ -812,12 +812,12 @@ implicitly exports all of `t`'s constructors. For example:
812812
~~~~~~~~
813813
mod foo {
814814
export t;
815-
815+
816816
enum t {a, b, c}
817817
}
818818
~~~~~~~~
819819

820-
Here, `foo` imports `t`, `a`, `b`, and `c`.
820+
Here, `foo` imports `t`, `a`, `b`, and `c`.
821821

822822
The second and third forms of export declaration can be used to export
823823
an `enum` item without exporting all of its constructors. These two
@@ -834,7 +834,7 @@ mod foo {
834834
835835
enum abstract {x, y, z}
836836
enum slightly_abstract {a, b, c, d}
837-
}
837+
}
838838
~~~~~~~~
839839

840840
Module `foo` exports the types `abstract` and `slightly_abstract`, as well as
@@ -1078,7 +1078,7 @@ An _enumeration item_ simultaneously declares a new nominal
10781078
[enumerated type](#enumerated-types) as well as a set of *constructors* that
10791079
can be used to create or pattern-match values of the corresponding enumerated
10801080
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
10821082
synonymous.
10831083

10841084
The constructors of an `enum` type may be recursive: that is, each constructor

0 commit comments

Comments
 (0)