From 14c9e2c50482ce6203e5da0b1f758bcd96647b72 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 7 Dec 2023 23:16:47 +0000 Subject: [PATCH] typo --- .gitignore | 1 + day-7/two.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 {