use NewSet() function instead of make() in case we want to do something fancy in the future
This commit is contained in:
parent
e060351bbd
commit
b1a6912dd8
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user