Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jan 9, 2015
1 parent 28cbe70 commit d0fa86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phf_shared/src/lib.rs
Expand Up @@ -53,7 +53,7 @@ impl PhfHash for [u8] {
fn phf_hash(&self, seed: u64) -> (u32, u32, u32) {
let mut state = SipHasher::new_with_keys(seed, 0);
state.write(self);
split(state.result())
split(state.finish())
}
}

Expand Down

0 comments on commit d0fa86a

Please sign in to comment.