From 658665765879ea1335dfe31abf22e4787f24876a Mon Sep 17 00:00:00 2001 From: Nicolas Luck Date: Thu, 1 Feb 2024 13:53:21 +0100 Subject: [PATCH] fmt --- src/machine/parsed_results.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/machine/parsed_results.rs b/src/machine/parsed_results.rs index a34f13d9..3d9d561d 100644 --- a/src/machine/parsed_results.rs +++ b/src/machine/parsed_results.rs @@ -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 = matches - .iter() - .map(prolog_match_to_json_string) - .collect(); + let matches_json: Vec = + matches.iter().map(prolog_match_to_json_string).collect(); format!("[{}]", matches_json.join(",")) } } -- 2.54.0