mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-27 05:40:32 +01:00
Change signature for solution.
This commit is contained in:
@@ -48,11 +48,11 @@ impl Day21 {
|
||||
}
|
||||
|
||||
impl Solution for Day21 {
|
||||
fn part1(&mut self, _input: &mut Read) -> String {
|
||||
fn part1(&mut self, _input: &mut dyn Read) -> String {
|
||||
ValidInputs::new(0).next().unwrap().to_string()
|
||||
}
|
||||
|
||||
fn part2(&mut self, _input: &mut Read) -> String {
|
||||
fn part2(&mut self, _input: &mut dyn Read) -> String {
|
||||
let inputs = ValidInputs::new(0);
|
||||
let mut seen = HashSet::new();
|
||||
let mut last: Option<i64> = None;
|
||||
|
||||
Reference in New Issue
Block a user