From b39c2a2a1132ac2822693fe1026a56bb01c277fb Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 11 May 2022 15:08:28 +0200 Subject: [PATCH] Fix `clippy::let_unit_value` --- src/cmd/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/build.rs b/src/cmd/build.rs index ccc1d33d..c10b48ba 100644 --- a/src/cmd/build.rs +++ b/src/cmd/build.rs @@ -550,7 +550,7 @@ fn optimize_wasm( "{}-opt.wasm", crate_metadata.contract_artifact_name )); - let _ = do_optimization( + do_optimization( crate_metadata.dest_wasm.as_os_str(), dest_optimized.as_os_str(), optimization_passes, @@ -612,7 +612,7 @@ fn do_optimization( .as_path(); log::info!("Path to wasm-opt executable: {}", wasm_opt_path.display()); - let _ = check_wasm_opt_version_compatibility(wasm_opt_path)?; + check_wasm_opt_version_compatibility(wasm_opt_path)?; log::info!( "Optimization level passed to wasm-opt: {}", -- GitLab