boilerplate: make generic over Lines type
This commit is contained in:
parent
db4a8b0d24
commit
25daf558e6
@ -17,11 +17,11 @@ fn main() {
|
|||||||
|
|
||||||
// PROBLEM 1 solution
|
// PROBLEM 1 solution
|
||||||
|
|
||||||
fn problem1(input: InputIter) -> u64 {
|
fn problem1<T: BufRead>(input: Lines<T>) -> u64 {
|
||||||
0
|
0
|
||||||
}
|
}
|
||||||
|
|
||||||
// PROBLEM 2 solution
|
// PROBLEM 2 solution
|
||||||
fn problem2(input: InputIter) -> u64 {
|
fn problem2<T: BufRead>(input: Lines<T>) -> u64 {
|
||||||
0
|
0
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user