From e316bfca7237003e837f2ac38476f521dd3d9af7 Mon Sep 17 00:00:00 2001 From: Folkert Date: Tue, 7 Sep 2021 16:48:11 +0200 Subject: [PATCH] make mut --- compiler/gen_wasm/tests/helpers/eval_simple.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/gen_wasm/tests/helpers/eval_simple.rs b/compiler/gen_wasm/tests/helpers/eval_simple.rs index 00d7bc4663..ba460139a6 100644 --- a/compiler/gen_wasm/tests/helpers/eval_simple.rs +++ b/compiler/gen_wasm/tests/helpers/eval_simple.rs @@ -100,7 +100,7 @@ pub fn helper_wasm<'a>( match std::fs::File::create(path) { Err(e) => eprintln!("Problem creating wasm debug file: {:?}", e), - Ok(file) => { + Ok(mut file) => { file.write_all(&module_bytes).unwrap(); } }