Fix Clippy (#96)

This commit is contained in:
daxpedda
2023-01-31 10:31:13 -08:00
committed by GitHub
parent c8de51672b
commit 74eaebe446
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ fn parse_params(input: &str) -> String {
let key = iter.next().unwrap().split_whitespace().next().unwrap();
let val = iter.next().unwrap().split_whitespace().next().unwrap();
param = format!(" \"{}\": \"{}", key, val);
param = format!(" \"{key}\": \"{val}");
} else {
let s = line.trim().to_string();
if s.contains('~') || s.contains('#') {