diff options
author | edef <edef@unfathomable.blue> | 2022-04-10 22:37:31 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-04-10 22:41:22 +0000 |
commit | 5410c542c0ac55ca88252497380ea1c3b3a1e8eb (patch) | |
tree | db74bbffaea0bab91dbc28db33996ee297eeed62 /ripple/fossil/src | |
parent | b143add15898ba6d22339b1408e65364d13b65de (diff) | |
download | unf-legacy-5410c542c0ac55ca88252497380ea1c3b3a1e8eb.tar.zst |
ripple/fossil: just copy the slice ref
Thanks, Clippy! Change-Id: I88e6b94b8edd415d1ed79c288a4677e2040dde77
Diffstat (limited to 'ripple/fossil/src')
-rw-r--r-- | ripple/fossil/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripple/fossil/src/lib.rs b/ripple/fossil/src/lib.rs index 7dca72e..09326a4 100644 --- a/ripple/fossil/src/lib.rs +++ b/ripple/fossil/src/lib.rs @@ -70,7 +70,7 @@ impl Store { fn write_blob(&self, data: &[u8]) -> Digest { let digest = { let mut h = blake3::Hasher::new(); - h.update_with_join::<blake3::join::RayonJoin>(&data); + h.update_with_join::<blake3::join::RayonJoin>(data); *h.finalize().as_bytes() }; |