should be 'trim_end' instead here

This commit is contained in:
Simon Gardling 2022-03-13 17:22:16 -04:00
parent 3bd7130c24
commit 4a563f6cc9

View File

@ -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()
}