1
Fork 0

Remove copy bindings from patterns.

This commit is contained in:
Niko Matsakis 2013-05-29 19:59:33 -04:00
parent 5209709e46
commit 7a1a40890d
34 changed files with 176 additions and 201 deletions

View file

@ -1384,7 +1384,7 @@ mod tests {
for items.each |item| {
match *item {
(copy key, copy value) => { d.insert(key, value); },
(ref key, ref value) => { d.insert(copy *key, copy *value); },
}
};