about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/nix-compat/src/nixhash/with_mode.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/nixhash/with_mode.rs b/tvix/nix-compat/src/nixhash/with_mode.rs
index efea3d0e6231..6e6d2e76b4a4 100644
--- a/tvix/nix-compat/src/nixhash/with_mode.rs
+++ b/tvix/nix-compat/src/nixhash/with_mode.rs
@@ -36,11 +36,11 @@ impl NixHashWithMode {
         Ok(match algo_and_mode.strip_prefix("r:") {
             Some(algo) => nixhash::NixHashWithMode::Recursive(nixhash::from_algo_and_digest(
                 algo.try_into()?,
-                &digest,
+                digest,
             )?),
             None => nixhash::NixHashWithMode::Flat(nixhash::from_algo_and_digest(
                 algo_and_mode.try_into()?,
-                &digest,
+                digest,
             )?),
         })
     }