From 80bf276e09c36411f576803d00831e2f56328313 Mon Sep 17 00:00:00 2001 From: Skgland Date: Sun, 24 Aug 2025 19:57:54 +0200 Subject: [PATCH] run rustfmt --- build/static_string_indexing.rs | 2 +- src/machine/machine_state.rs | 2 +- tests/scryer/ffi.rs | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build/static_string_indexing.rs b/build/static_string_indexing.rs index 1a00e17b..b9c4d1cd 100644 --- a/build/static_string_indexing.rs +++ b/build/static_string_indexing.rs @@ -134,7 +134,7 @@ pub fn index_static_strings(instruction_rs_path: &std::path::Path) -> TokenStrea Ok(s) => s, Err(e) => { println!("cargo::warning=parse error: {e} in file {path:?}"); - syn::File{ + syn::File { shebang: None, attrs: vec![], items: vec![], diff --git a/src/machine/machine_state.rs b/src/machine/machine_state.rs index 84e7759f..c1de6bf8 100644 --- a/src/machine/machine_state.rs +++ b/src/machine/machine_state.rs @@ -184,7 +184,7 @@ impl IndexMut for MachineState { } } -pub type CallResult = Result>; +pub type CallResult = Result>; // size may be an upper bound. // true_size is calculated to compute the exact offset. diff --git a/tests/scryer/ffi.rs b/tests/scryer/ffi.rs index c86360e9..7340d508 100644 --- a/tests/scryer/ffi.rs +++ b/tests/scryer/ffi.rs @@ -284,8 +284,6 @@ fn ffi_cstr() { ); } - - #[test] #[cfg_attr(miri, ignore = "ffi")] fn ffi_heap() { -- 2.54.0