diff options
author | Florian Klink <flokli@flokli.de> | 2023-03-10T11·22+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-03-10T12·15+0000 |
commit | d2b353e516ba7bd58ab86e142b1a6fc01c3090b2 (patch) | |
tree | efcc84709d221def7ab9697ed2fe474557e64a3e /tvix/store/src | |
parent | 6d3f5b7eb47498e991ab0f3cd595170751ab3742 (diff) |
refactor(tvix/store): clippy r/5944
Change-Id: Ib41c766a45e7d5467a4e5e90e1c00b009121959a Reviewed-on: https://cl.tvl.fyi/c/depot/+/8238 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to '')
-rw-r--r-- | tvix/store/src/chunkservice/memory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/chunkservice/memory.rs b/tvix/store/src/chunkservice/memory.rs index 8364e434461f..d9a5ead4de4a 100644 --- a/tvix/store/src/chunkservice/memory.rs +++ b/tvix/store/src/chunkservice/memory.rs @@ -28,7 +28,7 @@ impl ChunkService for MemoryChunkService { None => Ok(None), Some(data) => { // calculate the hash to verify this is really what we expect - let actual_digest = blake3::hash(&data).as_bytes().to_vec(); + let actual_digest = blake3::hash(data).as_bytes().to_vec(); if actual_digest != digest { return Err(Error::StorageError(format!( "invalid hash encountered when reading chunk, expected {}, got {}", |