chore(tvix/nix-compat): drop useless clone
HashAlgo implements Copy, no need to clone here. Change-Id: Ief11d2cfbd4fd0cd44224c7ddd575f518edbbd55 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8989 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
parent
0cae1a6736
commit
92e976b3a9
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ mod tests {
|
|||
fn from_str(digest: &[u8], algo: HashAlgo) {
|
||||
let expected_hash = NixHash {
|
||||
digest: digest.to_vec(),
|
||||
algo: algo.clone(),
|
||||
algo: algo,
|
||||
};
|
||||
// parse SRI
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue