diff --git a/tvix/store/src/nixbase32.rs b/tvix/store/src/nixbase32.rs index 070b67758..78a90f605 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, 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) }