mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-16 02:25:02 +01:00
cleanup
This commit is contained in:
parent
5c1a089038
commit
fa39b5faf4
11 changed files with 18 additions and 18 deletions
|
|
@ -6,7 +6,7 @@ pub fn part2(input: &str) -> u64 {
|
|||
}
|
||||
|
||||
let len = input.lines().next().unwrap().len();
|
||||
let empty_border = std::iter::repeat('.').take(len).collect::<String>();
|
||||
let empty_border = ".".repeat(len);
|
||||
|
||||
let mut prev2 = empty_border.as_str();
|
||||
let mut prev1 = input.lines().next().unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue