1
Fork 0

Add inlining.

This commit is contained in:
Camille GILLOT 2021-03-11 11:49:23 +01:00
parent 17a07d71bf
commit 84bf599bac
3 changed files with 16 additions and 0 deletions

View file

@ -35,6 +35,7 @@ impl StableHasher {
StableHasher { state: SipHasher128::new_with_keys(0, 0) }
}
#[inline]
pub fn finish<W: StableHasherResult>(self) -> W {
W::finish(self)
}