about summary refs log tree commit diff
path: root/tvix/nix-compat
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat')
-rw-r--r--tvix/nix-compat/src/nixhash/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixhash/mod.rs b/tvix/nix-compat/src/nixhash/mod.rs
index dccba7a5ba27..815c0e621fb9 100644
--- a/tvix/nix-compat/src/nixhash/mod.rs
+++ b/tvix/nix-compat/src/nixhash/mod.rs
@@ -284,7 +284,7 @@ mod tests {
     fn from_str(digest: &[u8], algo: HashAlgo) {
         let expected_hash = NixHash {
             digest: digest.to_vec(),
-            algo: algo.clone(),
+            algo: algo,
         };
         // parse SRI
         {