diff options
author | Florian Klink <flokli@flokli.de> | 2023-01-02T11·14+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-01-03T12·06+0000 |
commit | d0bbc8c8214fe164be572a0c2b1bd28f79fc1d20 (patch) | |
tree | 79f7db048d7fba71d2fd2a2023c5f37435decf25 /tvix/store | |
parent | ecd943ea6aaa1269d0c0fca140387158bc9ea551 (diff) |
chore(tvix/store/nixbase32): address clippy r/5568
Change-Id: Ib47a55e39ed752492b9732439de5f327a7fa601e Reviewed-on: https://cl.tvl.fyi/c/depot/+/7723 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store')
-rw-r--r-- | tvix/store/src/nixbase32.rs | 2 |
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) } |