diff --git a/day-15/two.go b/day-15/two.go index 4788904..089a447 100644 --- a/day-15/two.go +++ b/day-15/two.go @@ -34,8 +34,7 @@ func two(lines []string) int { _, ok := boxes[boxId] if !ok { - m := orderedmap.NewOrderedMap[string, int]() - boxes[boxId] = m + boxes[boxId] = orderedmap.NewOrderedMap[string, int]() } if strings.Contains(lense, "=") {