diff options
Diffstat (limited to 'src/command.rs')
-rw-r--r-- | src/command.rs | 2 |
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), |