From 6a27c295ed7e4330eb26f4599254744bd8db6849 Mon Sep 17 00:00:00 2001 From: "N. Tessa Pierce-Ward" Date: Mon, 7 Oct 2024 12:06:23 -0700 Subject: [PATCH] derive Hash for HashFunctions --- src/core/src/encodings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/src/encodings.rs b/src/core/src/encodings.rs index 733831e49c..8375699cb0 100644 --- a/src/core/src/encodings.rs +++ b/src/core/src/encodings.rs @@ -20,7 +20,7 @@ pub type Idx = u32; type IdxTracker = (vec_collections::VecSet<[Idx; 8]>, u64); type ColorToIdx = HashMap>; -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq, Hash)] #[cfg_attr( feature = "rkyv", derive(rkyv::Serialize, rkyv::Deserialize, rkyv::Archive)