From d6218c1df432e28bf5a37b068f29a9e6315a6f99 Mon Sep 17 00:00:00 2001 From: Leo-Besancon Date: Thu, 21 Nov 2024 10:53:24 +0100 Subject: [PATCH] Fix clippy warning --- src/as_execution/abi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/as_execution/abi.rs b/src/as_execution/abi.rs index 47fd6baf..6bdc401a 100644 --- a/src/as_execution/abi.rs +++ b/src/as_execution/abi.rs @@ -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() {