Fix the missing Copy trait error

This commit is contained in:
losfair
2019-09-01 18:17:31 +08:00
parent 7dd5c92c21
commit 45040650dd

View File

@ -494,7 +494,7 @@ mod test {
let mut assembler = Assembler::new().unwrap();
let locs = machine.acquire_locations(
&mut assembler,
&[(WpType::I32, MachineValue::Undefined); 10],
&(0..10).map(|_| (WpType::I32, MachineValue::Undefined)).collect::<Vec<_>>(),
false,
);