Skip to content

Commit 0baaafc

Browse files
committed
Update lib.rs
1 parent 8480ea3 commit 0baaafc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • crates/consistent-hashing/src

crates/consistent-hashing/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ impl<H: ManySeqBuilder> ConsistentChooseKHasher<H> {
256256

257257
#[cfg(test)]
258258
mod tests {
259+
use std::hash::DefaultHasher;
260+
259261
use super::*;
260262

261263
fn hasher_for_key(key: u64) -> DefaultHasher {

0 commit comments

Comments
 (0)