]> Repositorios git - scryer-prolog.git/commitdiff
fmt
authorNicolas Luck <[email protected]>
Thu, 1 Feb 2024 12:53:21 +0000 (13:53 +0100)
committerNicolas Luck <[email protected]>
Thu, 1 Feb 2024 12:53:21 +0000 (13:53 +0100)
src/machine/parsed_results.rs

index a34f13d966618116ae08d4fc91fd48248348c93a..3d9d561d73ff422a5137928d5fb08a55e1e2de7c 100644 (file)
@@ -83,10 +83,8 @@ impl ToString for QueryResolution {
             QueryResolution::True => "true".to_string(),
             QueryResolution::False => "false".to_string(),
             QueryResolution::Matches(matches) => {
-                let matches_json: Vec<String> = matches
-                    .iter()
-                    .map(prolog_match_to_json_string)
-                    .collect();
+                let matches_json: Vec<String> =
+                    matches.iter().map(prolog_match_to_json_string).collect();
                 format!("[{}]", matches_json.join(","))
             }
         }