about summary refs log tree commit diff
path: root/src/entities/item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/item.rs')
-rw-r--r--src/entities/item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/item.rs b/src/entities/item.rs
index aa99fb42e2c1..5f08780d4fb2 100644
--- a/src/entities/item.rs
+++ b/src/entities/item.rs
@@ -4,7 +4,7 @@ use crate::entities::{Describe, EntityID};
 use crate::types::Position;
 use std::io::{self, Write};
 
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq, Eq)]
 pub struct Item {
     pub id: Option<EntityID>,
     pub typ: &'static ItemType<'static>,