about summary refs log tree commit diff
path: root/tvix/store/src
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src')
-rw-r--r--tvix/store/src/chunkservice/memory.rs2
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 {}",