Skip to content

Commit

Permalink
piecrust: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Leegwater Simões committed Oct 23, 2023
1 parent 3c4b9af commit 9ba2e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piecrust/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl WrappedContract {
let serialized = match objectcode {
Some(obj) => obj.as_ref().to_vec(),
_ => {
let contract = Module::new(&engine, bytecode.as_ref())?;
let contract = Module::new(engine, bytecode.as_ref())?;
contract.serialize()?.to_vec()
}
};
Expand Down

0 comments on commit 9ba2e40

Please sign in to comment.