diff --git a/day6/main.go b/day6/main.go index 8df9262..10c1c03 100644 --- a/day6/main.go +++ b/day6/main.go @@ -35,10 +35,6 @@ func main() { } input := strings.TrimSpace(string(inputBytes)) - if err != nil { - panic(fmt.Sprintf("failed to parse input: %s", err)) - } - inputLines := strings.Split(input, "\n") races, err := parseRaces(inputLines) if err != nil { diff --git a/day8/main.go b/day8/main.go index 15838b0..cfaf699 100644 --- a/day8/main.go +++ b/day8/main.go @@ -54,10 +54,6 @@ func main() { } input := strings.TrimSpace(string(inputBytes)) - if err != nil { - panic(fmt.Sprintf("failed to parse input: %s", err)) - } - inputLines := strings.Split(input, "\n") if len(inputLines) < 3 { panic("not enough data in input to parse")