]> git.lizzy.rs Git - rust.git/commit
Auto merge of #25713 - Stebalien:pattern, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 27 May 2015 00:42:55 +0000 (00:42 +0000)
committerbors <bors@rust-lang.org>
Wed, 27 May 2015 00:42:55 +0000 (00:42 +0000)
commite4c64a1499de8a14a34f77c844b7fc1f7cabffd6
tree2aeabe631438fae6ebc399979adae243360a7322
parentfe85342ef6c04aeb35b0d0dbde82791f1a8721bb
parentf21655ec0286769056c73f9b1c847936c577004b
Auto merge of #25713 - Stebalien:pattern, r=alexcrichton

Needed to support:

```rust
match X {
  pattern if Y ...
}

for pattern in Y {}
```

IMO, this shouldn't require an RFC because it can't interfere with any future language changes (because `pattern if` and `pattern in` are already legal in rust) and can't cause any ambiguity.
src/doc/trpl/macros.md