Skip to content

Commit

Permalink
MRG: derive Hash for HashFunctions (#3344)
Browse files Browse the repository at this point in the history
- derive Hash for HashFunctions, so I can use it over in
sourmash-bio/sourmash_plugin_directsketch#112
  • Loading branch information
bluegenes authored Oct 8, 2024
1 parent 34001e7 commit e1f88b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/encodings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub type Idx = u32;
type IdxTracker = (vec_collections::VecSet<[Idx; 8]>, u64);
type ColorToIdx = HashMap<Color, IdxTracker, BuildNoHashHasher<Color>>;

#[derive(Debug, Clone, PartialEq, Eq)]
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[cfg_attr(
feature = "rkyv",
derive(rkyv::Serialize, rkyv::Deserialize, rkyv::Archive)
Expand Down

0 comments on commit e1f88b1

Please sign in to comment.