auto merge of #6349 : thestinger/rust/explicit_copy, r=thestinger
I removed some of the copies, but most are just made explicit. The usage in `libcore` was already fixed, but the attribute was only set to warn (not removed).
This commit is contained in:
commit
ce9c0225c4
14 changed files with 105 additions and 106 deletions
|
@ -498,7 +498,7 @@ mod tests {
|
|||
|
||||
let arc_v = p.recv();
|
||||
|
||||
let v = *arc::get::<~[int]>(&arc_v);
|
||||
let v = copy *arc::get::<~[int]>(&arc_v);
|
||||
assert!(v[3] == 4);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue