add missing comment
This commit is contained in:
parent
0ce04d208b
commit
3f7f533592
@ -50,6 +50,7 @@ func partOne() {
|
|||||||
// eat empty line
|
// eat empty line
|
||||||
scanner.Scan()
|
scanner.Scan()
|
||||||
|
|
||||||
|
// parse rules
|
||||||
rulemap := map[string][]string{}
|
rulemap := map[string][]string{}
|
||||||
for scanner.Scan() {
|
for scanner.Scan() {
|
||||||
rule := strings.Split(scanner.Text(), " -> ")
|
rule := strings.Split(scanner.Text(), " -> ")
|
||||||
@ -111,6 +112,7 @@ func partTwo() {
|
|||||||
// eat empty line
|
// eat empty line
|
||||||
scanner.Scan()
|
scanner.Scan()
|
||||||
|
|
||||||
|
// parse rules
|
||||||
rulemap := map[string][]string{}
|
rulemap := map[string][]string{}
|
||||||
for scanner.Scan() {
|
for scanner.Scan() {
|
||||||
rule := strings.Split(scanner.Text(), " -> ")
|
rule := strings.Split(scanner.Text(), " -> ")
|
||||||
|
Loading…
Reference in New Issue
Block a user