diff options
| author | bors <bors@rust-lang.org> | 2017-01-25 02:17:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-25 02:17:33 +0000 |
| commit | c0d0e68be4f8bb9d8522bd72a7a1b8ef95b84c6c (patch) | |
| tree | 2df7197e1d4cbf264e68bf7e9ce2df67b60f574a /src/libstd/sys/unix/process/process_unix.rs | |
| parent | 83c2d95238e3545e7ae9af4873c48b1e3651c164 (diff) | |
| parent | 98fef41d63a91759790f5bbe4ac746b5c1a670ba (diff) | |
| download | rust-c0d0e68be4f8bb9d8522bd72a7a1b8ef95b84c6c.tar.gz rust-c0d0e68be4f8bb9d8522bd72a7a1b8ef95b84c6c.zip | |
Auto merge of #35712 - oli-obk:exclusive_range_patterns, r=nikomatsakis
exclusive range patterns
adds `..` patterns to the language under a feature gate (`exclusive_range_pattern`).
This allows turning
``` rust
match i {
0...9 => {},
10...19 => {},
20...29 => {},
_ => {}
}
```
into
``` rust
match i {
0..10 => {},
10..20 => {},
20..30 => {},
_ => {}
}
```
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
