summaryrefslogtreecommitdiffstats
path: root/src/grid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grid.rs')
-rw-r--r--src/grid.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grid.rs b/src/grid.rs
index f360932..4720fdb 100644
--- a/src/grid.rs
+++ b/src/grid.rs
@@ -1,6 +1,6 @@
-#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug)]
+#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug, Default)]
pub struct Row(pub usize);
-#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug)]
+#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug, Default)]
pub struct Col(pub usize);
impl std::ops::Add<usize> for Row {