Skip to content

Commit 340c6a6

Browse files
committed
remove duplicate hash_data implementation
1 parent 04dfaaf commit 340c6a6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/interned.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ impl Interned {
2424
pub(crate) fn from_existing(value: Arc<[u8]>) -> Self {
2525
Self(value)
2626
}
27-
28-
pub fn hash_data<H: Hasher>(&self, state: &mut H) {
29-
self.deref().hash_data(state)
30-
}
3127
}
3228

3329
pub(crate) static DEFAULT: LazyLock<Interned> = LazyLock::new(|| Interned::new(Default::default()));

0 commit comments

Comments
 (0)