]> Repositorios git - scryer-prolog.git/commitdiff
cargo fmt fixes
authorThierry Marianne <[email protected]>
Wed, 4 Mar 2026 13:04:47 +0000 (14:04 +0100)
committerThierry Marianne <[email protected]>
Wed, 4 Mar 2026 13:04:47 +0000 (14:04 +0100)
Signed-off-by: Thierry Marianne <[email protected]>
src/machine/system_calls.rs
tests/scryer/issues.rs

index 9b714d01ce5e05b8889ccef705ef6ff6f986f595..1766e579c6c9c449e0c636d5f5e808ee543b0ea8 100644 (file)
@@ -5131,7 +5131,8 @@ impl Machine {
                         self.machine_st.heap.allocate_cstr(valid_str)
                     ),
                     Err(_) => {
-                        let cells: Vec<_> = cstr.to_bytes()
+                        let cells: Vec<_> = cstr
+                            .to_bytes()
                             .iter()
                             .map(|&b| fixnum_as_cell!(Fixnum::build_with(b)))
                             .collect();
index bedaa9bfaab9fb22f92c5b2dbbd5cf09e8730703..cb32174647fbada3682f1fc6ddf1d8ae6a44e63e 100644 (file)
@@ -150,4 +150,3 @@ fn http_open_hanging() {
             "received response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\n"
     );
 }
-