Applied clippy suggestions

This commit is contained in:
2024-01-12 14:26:05 +00:00
parent 760881cbc3
commit 9609c69c9e
13 changed files with 29 additions and 33 deletions
+2 -3
View File
@@ -75,11 +75,10 @@ impl Day08 {
key,
(
l.to_owned()
.replace(",", "")
.replace("(", "")
.replace([',', '('], "")
.trim()
.to_owned(),
r.trim().to_owned().replace(")", ""),
r.trim().to_owned().replace(')', ""),
),
);
}