From 4a563f6cc97aa5b1c1a13792a309bddf182579f0 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Sun, 13 Mar 2022 17:22:16 -0400 Subject: [PATCH] should be 'trim_end' instead here --- src/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.rs b/src/misc.rs index 51bb724..3e69dce 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -194,6 +194,6 @@ pub fn parse_value(value: &serde_json::Value) -> String { string_vector .iter() .fold(String::new(), |s, l| s + l + "\n") - .trim() + .trim_end() .to_string() }