day11 part 1

This commit is contained in:
nora 2023-12-12 19:21:48 +01:00
parent 1820e11337
commit 5126304fd0
8 changed files with 318 additions and 0 deletions

View file

@ -57,6 +57,13 @@ pub trait IteratorExt: Iterator {
Ok(array)
}
fn collect_vec(self) -> Vec<Self::Item>
where
Self: Sized,
{
self.collect()
}
}
impl<I: Iterator> IteratorExt for I {}