diff --git a/src/object_pool/object_id.rs b/src/object_pool/object_id.rs index d2dff66..654ed1a 100644 --- a/src/object_pool/object_id.rs +++ b/src/object_pool/object_id.rs @@ -1,6 +1,6 @@ use crate::object_pool::ParseError; -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct ObjectId { id: u16, }