Skip to content

Commit

Permalink
Do not re-hash interned hashes in non-IntMap contexts (#8200)
Browse files Browse the repository at this point in the history
Title.
  • Loading branch information
teh-cmc authored Nov 25, 2024
1 parent 81e8d88 commit 7b3fc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/utils/re_string_interner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl std::cmp::PartialEq for InternedString {
impl std::hash::Hash for InternedString {
#[inline]
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
self.hash.hash(state);
state.write_u64(self.hash);
}
}

Expand Down

0 comments on commit 7b3fc2b

Please sign in to comment.