summaryrefslogtreecommitdiff
path: root/2018/src/device.rs
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2018-12-22 01:00:42 +0100
committertomsmeding <tom.smeding@gmail.com>2018-12-22 01:00:42 +0100
commit25844ee408f73893175a8dc999391df0a3ed377a (patch)
treec470133914af0233855827a3f683ac7686313936 /2018/src/device.rs
parentdc9ba8162ff0a17fbafd6d589e53cdce1eada1b0 (diff)
Day 21
Diffstat (limited to '2018/src/device.rs')
-rw-r--r--2018/src/device.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/2018/src/device.rs b/2018/src/device.rs
index 7eaf8d3..cf6d94e 100644
--- a/2018/src/device.rs
+++ b/2018/src/device.rs
@@ -181,7 +181,7 @@ impl fmt::Display for Instr {
}
}
-#[derive(PartialEq, Eq, Clone)]
+#[derive(PartialEq, Eq, Clone, Hash, Debug)]
pub struct Machine {
pub regs: [usize; 6],
}