From f81c79925dc947427e6182171908bea3bfb51e84 Mon Sep 17 00:00:00 2001 From: TimothyBanks Date: Thu, 17 Sep 2026 09:54:21 -0400 Subject: [PATCH] chore: fix pre-commit failure --- crates/xrpl-wasm-vm/src/preflight/mod.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/crates/xrpl-wasm-vm/src/preflight/mod.rs b/crates/xrpl-wasm-vm/src/preflight/mod.rs index 4c511001f2..e33dddbcd6 100644 --- a/crates/xrpl-wasm-vm/src/preflight/mod.rs +++ b/crates/xrpl-wasm-vm/src/preflight/mod.rs @@ -82,11 +82,8 @@ pub fn check(wasm: &[u8], function_name: &str) -> Result<(), CheckError> { /// [`check`], reporting every error found rather than stopping at the first. pub fn check_all(wasm: &[u8], function_name: &str) -> Result<(), Vec> { - let module - - - - = compile(&wasm_engine(), wasm).map_err(|detail| vec![CheckError::Compile(detail)])?; + let module = + compile(&wasm_engine(), wasm).map_err(|detail| vec![CheckError::Compile(detail)])?; let refusals: Vec = check_error_iter(&module, function_name).collect(); if refusals.is_empty() { return Ok(());