Auto merge of #83064 - cjgillot:fhash, r=jackh726

Tweaks to stable hashing
This commit is contained in:
bors 2021-03-13 20:21:40 +00:00
commit acca818928
6 changed files with 18 additions and 20 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)
}