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:
parent
ecd943ea6a
commit
d0bbc8c821
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue