diff --git a/.gitignore b/.gitignore index 3d4d762..db1cbbf 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ # Go workspace file go.work +go.work.sum # input files test*.txt diff --git a/day-7/two.go b/day-7/two.go index 295dd92..b6d1c09 100644 --- a/day-7/two.go +++ b/day-7/two.go @@ -40,7 +40,7 @@ func promote(hand *hand) { } } -// two coreturns the sum of products of hand values by bids +// two returns the sum of products of hand values by bids // it uses new joker rules func two(lines []string) (int, error) { for _, hand := range hands {