summaryrefslogtreecommitdiff
path: root/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.rs b/src/command.rs
index a510120..bca0f38 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -1,7 +1,7 @@
use std::fmt;
use crate::geometry::Direction;
-#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum Command {
Move(i8, i8),
Dig(i8, i8),