boilerplate: make generic over Lines type

This commit is contained in:
Keenan Tims 2023-12-05 21:46:11 -08:00
parent db4a8b0d24
commit 25daf558e6
No known key found for this signature in database
GPG Key ID: B8FDD4AD6B193F06

View File

@ -17,11 +17,11 @@ fn main() {
// PROBLEM 1 solution
fn problem1(input: InputIter) -> u64 {
fn problem1<T: BufRead>(input: Lines<T>) -> u64 {
0
}
// PROBLEM 2 solution
fn problem2(input: InputIter) -> u64 {
fn problem2<T: BufRead>(input: Lines<T>) -> u64 {
0
}