Remove copy bindings from patterns.
This commit is contained in:
parent
5209709e46
commit
7a1a40890d
34 changed files with 176 additions and 201 deletions
|
@ -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); },
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue