Applied clippy suggestions
This commit is contained in:
@@ -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(')', ""),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user