mirror of
https://github.com/anthonyoteri/advent-of-code-2023.git
synced 2026-06-05 23:46:52 -04:00
Fix clippy issues on all days
Signed-off-by: Anthony Oteri <anthony.oteri@gmail.com>
This commit is contained in:
+2
-2
@@ -77,8 +77,8 @@ fn part2_preformat(input: &str) -> String {
|
||||
let input = String::from(input);
|
||||
input
|
||||
.lines()
|
||||
.map(|l| l.replace(" ", ""))
|
||||
.map(|l| l.replace(":", ": "))
|
||||
.map(|l| l.replace(' ', ""))
|
||||
.map(|l| l.replace(':', ": "))
|
||||
.collect::<Vec<String>>()
|
||||
.join("\n")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user