diff options
author | Florian Klink <flokli@flokli.de> | 2023-12-09T11·10+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-09T12·58+0000 |
commit | 06350445e9595c18f1406d5d6cb5063370f45bd5 (patch) | |
tree | f0fcf0286e4f313a1322c00bc6d5e2572a6f9f6d /tvix/nix-compat/src/narinfo/fingerprint.rs | |
parent | 1bdb90e56d5e5982ee7fc3e3c72acfab32cdad64 (diff) |
refactor(nix-compat/narinfo): address clippy lints r/7136
Change-Id: I00f28624ec0469525e52f408f00caa20d3b701b8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10229 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/nix-compat/src/narinfo/fingerprint.rs')
-rw-r--r-- | tvix/nix-compat/src/narinfo/fingerprint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/narinfo/fingerprint.rs b/tvix/nix-compat/src/narinfo/fingerprint.rs index e6f4f816d33f..fdf221f5f256 100644 --- a/tvix/nix-compat/src/narinfo/fingerprint.rs +++ b/tvix/nix-compat/src/narinfo/fingerprint.rs @@ -26,7 +26,7 @@ pub fn fingerprint<'a, R: Iterator<Item = &'a StorePathRef<'a>>>( mod tests { use crate::narinfo::NarInfo; - const NARINFO_STR: &'static str = r#"StorePath: /nix/store/syd87l2rxw8cbsxmxl853h0r6pdwhwjr-curl-7.82.0-bin + const NARINFO_STR: &str = r#"StorePath: /nix/store/syd87l2rxw8cbsxmxl853h0r6pdwhwjr-curl-7.82.0-bin URL: nar/05ra3y72i3qjri7xskf9qj8kb29r6naqy1sqpbs3azi3xcigmj56.nar.xz Compression: xz FileHash: sha256:05ra3y72i3qjri7xskf9qj8kb29r6naqy1sqpbs3azi3xcigmj56 |