From cee87595ed0b3d65ffc906e4f9dfb9796f6bbb13 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Wed, 11 Dec 2024 08:12:02 -0600 Subject: [PATCH] clippy --- main/src/project.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/project.rs b/main/src/project.rs index 7e48af8..c5e81a7 100644 --- a/main/src/project.rs +++ b/main/src/project.rs @@ -353,7 +353,7 @@ pub fn compress_wasm(wasm: &PathBuf, project_hash: [u8; 32]) -> Result<(Vec, let wat_str = wasmprinter::print_bytes(&wasm).map_err(|e| eyre!("failed to convert Wasm to Wat: {e}"))?; - let wasm = wasmer::wat2wasm(&wat_str.as_bytes()) + let wasm = wasmer::wat2wasm(wat_str.as_bytes()) .map_err(|e| eyre!("failed to convert Wat to Wasm: {e}"))?; let wasm = add_project_hash_to_wasm_file(&wasm, project_hash)