about summary refs log tree commit diff
path: root/tvix/store/src/chunkservice/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/chunkservice/util.rs')
-rw-r--r--tvix/store/src/chunkservice/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/chunkservice/util.rs b/tvix/store/src/chunkservice/util.rs
index 1121a791fc94..2ad663733b04 100644
--- a/tvix/store/src/chunkservice/util.rs
+++ b/tvix/store/src/chunkservice/util.rs
@@ -21,7 +21,7 @@ pub fn upload_chunk<CS: ChunkService>(
 
     assert_eq!(&digest_resp, digest.as_bytes());
 
-    Ok(digest.as_bytes().clone())
+    Ok(*digest.as_bytes())
 }
 
 /// reads through a reader, writes chunks to a [ChunkService] and returns a