Skip to content

Commit

Permalink
Appease Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Oct 20, 2022
1 parent 6f1ef35 commit 67e4cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cargo-contract/src/cmd/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ impl VerifyCommand {
)
};

let build_info: BuildInfo = serde_json::from_value(build_info.clone().into())
.context(format!(
let build_info: BuildInfo =
serde_json::from_value(build_info.into()).context(format!(
"Failed to deserialize the build info from {}",
path.display()
))?;
Expand Down

0 comments on commit 67e4cc2

Please sign in to comment.