Skip to content

Commit

Permalink
Fix clippy::let_unit_value (use-ink#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi authored May 11, 2022
1 parent 202dcb6 commit 53a6bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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: {}",
Expand Down

0 comments on commit 53a6bbd

Please sign in to comment.