From 73288b37d8d8daaed7689155246faf4c5038f68a Mon Sep 17 00:00:00 2001 From: Daan Steenbergen Date: Sun, 22 Dec 2024 20:36:29 +0100 Subject: [PATCH] chore: add hash to object id --- src/object_pool/object_id.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }