chore(tvix/store/nixbase32): address clippy

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>
This commit is contained in:
Florian Klink 2023-01-02 12:14:05 +01:00 committed by clbot
parent ecd943ea6a
commit d0bbc8c821

View file

@ -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)
}