Use SmartString for comments.

This commit is contained in:
Stephen Chung
2023-02-11 23:55:07 +08:00
parent dbac4d5689
commit 8685323b15
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ impl Hasher for StraightHasher {
fn finish(&self) -> u64 {
self.0
}
#[inline(always)]
#[cold]
fn write(&mut self, _bytes: &[u8]) {
panic!("StraightHasher can only hash u64 values");
}