1
Fork 0

Use the full Fingerprint when stringifying Svh

This commit is contained in:
Ben Kimock 2023-04-30 14:28:30 -04:00
parent 43a78029b4
commit 3c6d9ec77d
3 changed files with 11 additions and 6 deletions

View file

@ -64,6 +64,11 @@ impl Fingerprint {
)
}
#[inline]
pub(crate) fn as_u128(self) -> u128 {
u128::from(self.1) << 64 | u128::from(self.0)
}
// Combines two hashes in an order independent way. Make sure this is what
// you want.
#[inline]