diff options
author | Florian Klink <flokli@flokli.de> | 2023-08-19T10·36+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-08-19T11·37+0000 |
commit | 999b2d69952602936caca72e8eb2dced4d08c382 (patch) | |
tree | a2ce3d9129fda30d3e75632a18b355c30c893848 /tvix/nix-compat/src/nixhash/mod.rs | |
parent | b5ed3a90f2b8107a921c55a1fb1b52c827d1b778 (diff) |
refactor(tvix/nix-compat/nixhash): use shorthand struct init r/6489
Change-Id: I1e52b752408a70fdb27e3e5c6f3bef5417b3e922 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9085 Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to '')
-rw-r--r-- | tvix/nix-compat/src/nixhash/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixhash/mod.rs b/tvix/nix-compat/src/nixhash/mod.rs index 815c0e621fb9..77a9035901d9 100644 --- a/tvix/nix-compat/src/nixhash/mod.rs +++ b/tvix/nix-compat/src/nixhash/mod.rs @@ -284,7 +284,7 @@ mod tests { fn from_str(digest: &[u8], algo: HashAlgo) { let expected_hash = NixHash { digest: digest.to_vec(), - algo: algo, + algo, }; // parse SRI { |