about summary refs log tree commit diff
path: root/tvix/store/src/nixbase32.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/nixbase32.rs')
-rw-r--r--tvix/store/src/nixbase32.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/nixbase32.rs b/tvix/store/src/nixbase32.rs
index 070b677583ff..78a90f605507 100644
--- a/tvix/store/src/nixbase32.rs
+++ b/tvix/store/src/nixbase32.rs
@@ -44,7 +44,7 @@ impl Nixbase32Encoding {
     /// Check [data_encoding::Encoding::encode] for the error cases.
     pub fn decode(&self, input: &[u8]) -> Result<Vec<u8>, DecodeError> {
         // Decode first, then reverse the bytes of the output.
-        let mut output = self.encoding.decode(&input)?;
+        let mut output = self.encoding.decode(input)?;
         output.reverse();
         Ok(output)
     }