refactor(tvix/nix-compat): clippy
Change-Id: I56282d9754b42e0e6cdbb08e9ae71f5700d28dd1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9747 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
This commit is contained in:
parent
1d97b4230f
commit
1a3c610081
1 changed files with 2 additions and 2 deletions
|
@ -36,11 +36,11 @@ impl NixHashWithMode {
|
|||
Ok(match algo_and_mode.strip_prefix("r:") {
|
||||
Some(algo) => nixhash::NixHashWithMode::Recursive(nixhash::from_algo_and_digest(
|
||||
algo.try_into()?,
|
||||
&digest,
|
||||
digest,
|
||||
)?),
|
||||
None => nixhash::NixHashWithMode::Flat(nixhash::from_algo_and_digest(
|
||||
algo_and_mode.try_into()?,
|
||||
&digest,
|
||||
digest,
|
||||
)?),
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue