[TASK] Day 3

This commit is contained in:
2023-12-03 13:20:49 +01:00
parent 13263f6f05
commit fa48e8877a
5 changed files with 296 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ impl <T: Display + Clone + Sized> Grid<T> {
}
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Coord<T> where T: Sized {
pub x: T,
pub y: T