grid: use coord2d more consistently

This commit is contained in:
ktims committed 2024-12-21 21:01:16 -08:00
1 parent 13f61e3a2b
commit 02fc154547
6 files changed
+37 -15

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ impl<T: BufRead> From<T> for Map {
let guard_facing = FacingDirection::Up;
Self {
grid,
guard_pos,
guard_pos: guard_pos.into(),
guard_facing,
visited_from,
path: Vec::new(),