Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <github@jessfraz.com>
  • Loading branch information
jessfraz committed Dec 13, 2023
1 parent a368de3 commit 0bc3856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/day13.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl TerrainMap {

let columns: Vec<TerrainRow> = (0..self.0[0].0.len())
.map(|i| self.0.iter().map(|c| c.0[i]).collect())
.map(|c| TerrainRow(c))
.map(TerrainRow)
.collect();

// Check all the columns.
Expand Down

0 comments on commit 0bc3856

Please sign in to comment.