Skip to content

Commit

Permalink
Fix finish_u128 not public
Browse files Browse the repository at this point in the history
  • Loading branch information
ogxd committed Nov 17, 2023
1 parent 35d2358 commit 5270d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl GxHasher {
/// Finish this hasher and return the hashed value as a 128 bit
/// unsigned integer.
#[inline]
fn finish_u128(&self) -> u128 {
pub fn finish_u128(&self) -> u128 {
debug_assert!(std::mem::size_of::<State>() >= std::mem::size_of::<u128>());

unsafe {
Expand Down

0 comments on commit 5270d7d

Please sign in to comment.