]> Repositorios git - scryer-prolog.git/commitdiff
run rustfmt
authorSkgland <[email protected]>
Sun, 24 Aug 2025 17:57:54 +0000 (19:57 +0200)
committerBennet Bleßmann <[email protected]>
Sun, 24 Aug 2025 17:57:54 +0000 (19:57 +0200)
build/static_string_indexing.rs
src/machine/machine_state.rs
tests/scryer/ffi.rs

index 1a00e17b6c3cb2663d57f9b054d05a2dd4bfde4d..b9c4d1cdd969f49a5c67441d0de3812b06707f5c 100644 (file)
@@ -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![],
index 84e7759fb7ac63136da774ba07793a88b65604df..c1de6bf8b64224021659664276f6374fa3fc713a 100644 (file)
@@ -184,7 +184,7 @@ impl IndexMut<RegType> for MachineState {
     }
 }
 
-pub type CallResult<Ok=()> = Result<Ok, Vec<FunctorElement>>;
+pub type CallResult<Ok = ()> = Result<Ok, Vec<FunctorElement>>;
 
 // size may be an upper bound.
 // true_size is calculated to compute the exact offset.
index c86360e9ece75c03f78373f416e113a2783d4f7a..7340d5080a922f5eb91d6548bc95280222e8a4ef 100644 (file)
@@ -284,8 +284,6 @@ fn ffi_cstr() {
     );
 }
 
-
-
 #[test]
 #[cfg_attr(miri, ignore = "ffi")]
 fn ffi_heap() {