diff options
| author | bors <bors@rust-lang.org> | 2013-02-19 09:14:33 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-02-19 09:14:33 -0800 |
| commit | f68335113bf277f171494abb62a31293311f80c8 (patch) | |
| tree | a790a66032447ff99658c7fe4525881c182170f6 /src/rt/rust_kernel.cpp | |
| parent | 2ec958db5ae37f193d4d632635818241b134a617 (diff) | |
| parent | aa284de1fc246b55fb53783ded3e9786e04b03d0 (diff) | |
| download | rust-f68335113bf277f171494abb62a31293311f80c8.tar.gz rust-f68335113bf277f171494abb62a31293311f80c8.zip | |
auto merge of #5002 : catamorphism/rust/one-tuples, r=graydon
r? @graydon - This is for greater uniformity (for example, macros that generate tuples). rustc already supported 1-tuple patterns, but there was no way to construct a 1-tuple term. @graydon , as far as your comment on #4898 - it did turn out to be solvable inside the macro (since @luqmana already fixed it using structs instead), but I still think it's a good idea to allow 1-tuples, for uniformity. I don't think anyone is likely to trip over it, and I'm not too worried that it changes the amount of ambiguity.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
