Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Nov 21, 2024
1 parent 9410964 commit d6218c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/as_execution/abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1548,10 +1548,10 @@ pub fn assembly_script_abort(
let memory = get_memory!(env);

let message_ = message
.read(&memory, &ctx)
.read(memory, &ctx)
.map_err(|e| wasmer::RuntimeError::new(e.to_string()));
let filename_ = filename
.read(&memory, &ctx)
.read(memory, &ctx)
.map_err(|e| wasmer::RuntimeError::new(e.to_string()));

if message_.is_err() || filename_.is_err() {
Expand Down

0 comments on commit d6218c1

Please sign in to comment.