mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-16 10:35:02 +01:00
day11 part 1
This commit is contained in:
parent
1820e11337
commit
5126304fd0
8 changed files with 318 additions and 0 deletions
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue