From: Skgland Date: Sun, 24 Aug 2025 17:57:54 +0000 (+0200) Subject: run rustfmt X-Git-Tag: v0.10.0~11^2~8 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=80bf276e09c36411f576803d00831e2f56328313;p=scryer-prolog.git run rustfmt --- 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() {