add missing comment

This commit is contained in:
David 2021-12-14 10:11:06 -05:00
parent 0ce04d208b
commit 3f7f533592
1 changed files with 2 additions and 0 deletions

View File

@ -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(), " -> ")