aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-02-23 18:46:25 +0100
committerAlex Auvolat <alex@adnab.me>2021-02-23 18:46:25 +0100
commit40763fd749f36fe612f20f79ff7cac51252cc128 (patch)
treec43e3a8190a3323a93a7253c8095e33add817a7f /src/util
parent6e6f7e8555ad488a8b4d67ba640ddad933aa2654 (diff)
downloadgarage-40763fd749f36fe612f20f79ff7cac51252cc128.tar.gz
garage-40763fd749f36fe612f20f79ff7cac51252cc128.zip
Cargo fmt
Diffstat (limited to 'src/util')
-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);