about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-04-20 00:54:42 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-04-20 00:56:46 -0700
commit37b054973083ed4201a2ba73be6bdd39daf13cf6 (patch)
tree842be52963bf339cb1eead62d0fc5935ba22f90f /src/rt/rust_kernel.cpp
parent087b12ac297ac9462013b01ccc69097bdf92900c (diff)
downloadrust-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