diff options
author | Florian Klink <flokli@flokli.de> | 2023-12-09T11·11+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-09T12·58+0000 |
commit | f4c4e320404ec2ba9992352b7ecb40e19c2f31d7 (patch) | |
tree | 6ac098db0ce2bd3f34616d2d4cffc2b327e4fbf1 /tvix/nix-compat/src | |
parent | 06350445e9595c18f1406d5d6cb5063370f45bd5 (diff) |
refactor(nix-compat/nixbase32): address clippy r/7137
Change-Id: I07b53ead10b0efb31e88c6ae93c124c5f35261d3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10230 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/nix-compat/src')
-rw-r--r-- | tvix/nix-compat/src/nixbase32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixbase32.rs b/tvix/nix-compat/src/nixbase32.rs index 79b4750d9509..c4c2f2b96761 100644 --- a/tvix/nix-compat/src/nixbase32.rs +++ b/tvix/nix-compat/src/nixbase32.rs @@ -148,7 +148,7 @@ mod tests { #[test_case("00bgd045z0d4icpbc2yyz4gx48ak44la", &hex!("8a12321522fd91efbd60ebb2481af88580f61600"); "store path")] #[test_case("0c5b8vw40dy178xlpddw65q9gf1h2186jcc3p4swinwggbllv8mk", &hex!("b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30"); "sha256")] fn encode(enc: &str, dec: &[u8]) { - assert_eq!(enc, super::encode(&dec)); + assert_eq!(enc, super::encode(dec)); } #[test_case("", Some(&[]) ; "empty bytes")] |