From 5410c542c0ac55ca88252497380ea1c3b3a1e8eb Mon Sep 17 00:00:00 2001 From: edef Date: Sun, 10 Apr 2022 22:37:31 +0000 Subject: ripple/fossil: just copy the slice ref Thanks, Clippy! Change-Id: I88e6b94b8edd415d1ed79c288a4677e2040dde77 --- ripple/fossil/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ripple/fossil/src') 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::(&data); + h.update_with_join::(data); *h.finalize().as_bytes() }; -- cgit 1.4.1