From d0bbc8c8214fe164be572a0c2b1bd28f79fc1d20 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 2 Jan 2023 12:14:05 +0100 Subject: chore(tvix/store/nixbase32): address clippy Change-Id: Ib47a55e39ed752492b9732439de5f327a7fa601e Reviewed-on: https://cl.tvl.fyi/c/depot/+/7723 Tested-by: BuildkiteCI Autosubmit: flokli Reviewed-by: tazjin --- tvix/store/src/nixbase32.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/store') diff --git a/tvix/store/src/nixbase32.rs b/tvix/store/src/nixbase32.rs index 070b677583..78a90f6055 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) } -- cgit 1.4.1