aboutsummaryrefslogtreecommitdiff
path: root/src/util/data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/data.rs')
-rw-r--r--src/util/data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/data.rs b/src/util/data.rs
index a1c292e7..f46454be 100644
--- a/src/util/data.rs
+++ b/src/util/data.rs
@@ -99,8 +99,8 @@ pub fn blake2sum(data: &[u8]) -> Hash {
pub type FastHash = u64;
pub fn fasthash(data: &[u8]) -> FastHash {
- use std::hash::Hasher;
use fasthash::{xx::Hasher64, FastHasher};
+ use std::hash::Hasher;
let mut h = Hasher64::new();
h.write(data);