Skip to content

Commit

Permalink
Fix 2021-12 build
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Dec 8, 2023
1 parent f316954 commit 0bd3a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/year2021/day12.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl CaveMap {
end_cave_identifier: u8::MAX,
};

let mut id_assigner = IdAssigner::<{ Self::MAX_SIZE as u16 }>::new();
let mut id_assigner = IdAssigner::<{ Self::MAX_SIZE }, str>::new("");

for line in text.lines() {
if let Some((from, to)) = line.split_once('-') {
Expand Down

0 comments on commit 0bd3a1c

Please sign in to comment.