diff options
author | Alex Auvolat <alex@adnab.me> | 2021-02-23 18:46:25 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-02-23 18:46:25 +0100 |
commit | 40763fd749f36fe612f20f79ff7cac51252cc128 (patch) | |
tree | c43e3a8190a3323a93a7253c8095e33add817a7f /src/util/data.rs | |
parent | 6e6f7e8555ad488a8b4d67ba640ddad933aa2654 (diff) | |
download | garage-40763fd749f36fe612f20f79ff7cac51252cc128.tar.gz garage-40763fd749f36fe612f20f79ff7cac51252cc128.zip |
Cargo fmt
Diffstat (limited to 'src/util/data.rs')
-rw-r--r-- | src/util/data.rs | 2 |
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); |