Skip to content

Commit 0c9375b

Browse files
committed
Remove u/i128 hashing overloads from NoHashHasher::Hasher impl
1 parent d025c5d commit 0c9375b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crates/stdx/src/hash.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ impl Hasher for NoHashHasher {
5353
self.0 = i as u64;
5454
}
5555

56-
fn write_u128(&mut self, i: u128) {
57-
self.0 = i as u64;
58-
}
59-
6056
fn write_usize(&mut self, i: usize) {
6157
self.0 = i as u64;
6258
}
@@ -77,10 +73,6 @@ impl Hasher for NoHashHasher {
7773
self.0 = i as u64;
7874
}
7975

80-
fn write_i128(&mut self, i: i128) {
81-
self.0 = i as u64;
82-
}
83-
8476
fn write_isize(&mut self, i: isize) {
8577
self.0 = i as u64;
8678
}

0 commit comments

Comments
 (0)