From b1a6912dd85cb844a1409e41b7b248832018917e Mon Sep 17 00:00:00 2001 From: Stefan Harmuth Date: Mon, 28 Dec 2020 12:04:17 +0100 Subject: [PATCH] use NewSet() function instead of make() in case we want to do something fancy in the future --- day16/day.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day16/day.go b/day16/day.go index f48e33a..7f2aa9e 100644 --- a/day16/day.go +++ b/day16/day.go @@ -69,7 +69,7 @@ func Part1(puzzle tools.AoCPuzzle) interface{} { func Part2(puzzle tools.AoCPuzzle) interface{} { sueSpecs := getSueSpecSlice(puzzle.GetInputArray()) - dontCheckExact := make(tools.Set) + dontCheckExact := tools.NewSet() dontCheckExact.Add("cats") dontCheckExact.Add("trees") dontCheckExact.Add("pomeranians")