From 3f7f53359232638bbf160eed8baccb10057114be Mon Sep 17 00:00:00 2001 From: David Ashby Date: Tue, 14 Dec 2021 10:11:06 -0500 Subject: [PATCH] add missing comment --- 14/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/14/main.go b/14/main.go index 0156ac1..ce71d2a 100644 --- a/14/main.go +++ b/14/main.go @@ -50,6 +50,7 @@ func partOne() { // eat empty line scanner.Scan() + // parse rules rulemap := map[string][]string{} for scanner.Scan() { rule := strings.Split(scanner.Text(), " -> ") @@ -111,6 +112,7 @@ func partTwo() { // eat empty line scanner.Scan() + // parse rules rulemap := map[string][]string{} for scanner.Scan() { rule := strings.Split(scanner.Text(), " -> ")