Skip to content

Commit 7214b2c

Browse files
committed
---
yaml --- r: 179966 b: refs/heads/snap-stage3 c: ff56e37 h: refs/heads/master v: v3
1 parent 858fe03 commit 7214b2c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5936278ed6bef736f6eb8c0dd4d650fd8e10461b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: edabfe2912380955cc01d100dcca20e6c197da99
4+
refs/heads/snap-stage3: ff56e376f99359742afaa68c23ffadc88e14edb0
55
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/doc/reference.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3196,6 +3196,7 @@ stands for a *single* data field, whereas a wildcard `..` stands for *all* the
31963196
fields of a particular variant. For example:
31973197

31983198
```
3199+
#![feature(box_patterns)]
31993200
#![feature(box_syntax)]
32003201
enum List<X> { Nil, Cons(X, Box<List<X>>) }
32013202
@@ -3259,6 +3260,7 @@ the inside of the match.
32593260
An example of a `match` expression:
32603261

32613262
```
3263+
#![feature(box_patterns)]
32623264
#![feature(box_syntax)]
32633265
# fn process_pair(a: i32, b: i32) { }
32643266
# fn process_ten() { }
@@ -3294,6 +3296,7 @@ Subpatterns can also be bound to variables by the use of the syntax `variable @
32943296
subpattern`. For example:
32953297

32963298
```
3299+
#![feature(box_patterns)]
32973300
#![feature(box_syntax)]
32983301
32993302
enum List { Nil, Cons(uint, Box<List>) }

0 commit comments

Comments
 (0)