mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-01 18:01:06 +00:00
Fix an unused mut warning
This commit is contained in:
parent
f86d227d51
commit
25af16c7d9
@ -183,7 +183,7 @@ impl Project {
|
|||||||
run(&mut cmd, "cargo");
|
run(&mut cmd, "cargo");
|
||||||
|
|
||||||
let idx = IDX.with(|x| *x);
|
let idx = IDX.with(|x| *x);
|
||||||
let mut out = target_dir.join(&format!("wasm32-unknown-unknown/debug/test{}.wasm", idx));
|
let out = target_dir.join(&format!("wasm32-unknown-unknown/debug/test{}.wasm", idx));
|
||||||
|
|
||||||
let as_a_module = root.join("out.wasm");
|
let as_a_module = root.join("out.wasm");
|
||||||
fs::copy(&out, &as_a_module).unwrap();
|
fs::copy(&out, &as_a_module).unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user