Skip to content

Commit

Permalink
fix: clippy warning
Browse files Browse the repository at this point in the history
Signed-off-by: Tarek <tareknaser360@gmail.com>
  • Loading branch information
tareknaser committed Nov 30, 2024
1 parent 850628e commit 4f2d6de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/emit/soroban/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl SorobanTarget {
);
binary.internalize(export_list.as_slice());

Self::emit_initializer(&mut binary, ns, contract.constructors(&ns).first());
Self::emit_initializer(&mut binary, ns, contract.constructors(ns).first());

Self::emit_env_meta_entries(context, &mut binary, opt);

Expand Down
3 changes: 1 addition & 2 deletions tests/soroban.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ pub fn build_solidity(src: &str) -> Vec<u8> {
);
ns.print_diagnostics_in_plain(&cache, false);
assert!(!wasm.is_empty());
let wasm_blob = wasm[0].0.clone();
wasm_blob
wasm[0].0.clone()
}

impl SorobanEnv {
Expand Down

0 comments on commit 4f2d6de

Please sign in to comment.