From e52c6445329a41199002b064ad2cfdfc02fc5fa0 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 3 Dec 2020 09:57:12 -0600 Subject: [PATCH] Fix warnings --- 2020/src/day1.nim | 2 +- 2020/src/day2.nim | 2 +- 2020/src/day3.nim | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/2020/src/day1.nim b/2020/src/day1.nim index cfef733..7f2668e 100644 --- a/2020/src/day1.nim +++ b/2020/src/day1.nim @@ -1,4 +1,4 @@ -import sets, streams, strutils, options, input_helpers +import sets, streams, strutils, input_helpers # Day 1 diff --git a/2020/src/day2.nim b/2020/src/day2.nim index 080c3ec..5e89862 100644 --- a/2020/src/day2.nim +++ b/2020/src/day2.nim @@ -1,4 +1,4 @@ -import streams, strutils, sequtils, re, options +import streams, strutils, re type PasswordPolicy = tuple[min: int, max: int, keyChar: char] diff --git a/2020/src/day3.nim b/2020/src/day3.nim index 7a4ee8f..2b284a7 100644 --- a/2020/src/day3.nim +++ b/2020/src/day3.nim @@ -1,5 +1,7 @@ import streams +let sledSlope = (3, 1) + proc part1*(s: Stream): int = 0