diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-04-20 00:54:42 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-04-20 00:56:46 -0700 |
| commit | 37b054973083ed4201a2ba73be6bdd39daf13cf6 (patch) | |
| tree | 842be52963bf339cb1eead62d0fc5935ba22f90f /src/rt/rust_kernel.cpp | |
| parent | 087b12ac297ac9462013b01ccc69097bdf92900c (diff) | |
| download | rust-37b054973083ed4201a2ba73be6bdd39daf13cf6.tar.gz rust-37b054973083ed4201a2ba73be6bdd39daf13cf6.zip | |
Add new syntax for patterns that match the head constructor only
Adds a new kind of pattern C(*) where C is a constructor that may have any number of fields. This pattern matches any value constructed with C, without binding names for any of the fields. Closes #1701.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
