about summary refs log tree commit diff
path: root/tvix/store/build.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-12-29T11·23+0100
committerflokli <flokli@flokli.de>2022-12-29T12·07+0000
commit6ab8320f075e36f2328a86f5fcf7674844a0bd12 (patch)
treec7b339849519b4a4e8a067cdb387d1f42e71d0f7 /tvix/store/build.rs
parentb0879917d4f4adbe4dac6bdf7f75d9e19f559114 (diff)
chore(tvix/store): address clippy warnings r/5533
The only warnings left are unused warnings, but that'll change once we
have a real implementation, and not just tests.

Change-Id: I28912281b5e66735be37e999cc8ef4b8b09028fb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7669
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/build.rs')
-rw-r--r--tvix/store/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/build.rs b/tvix/store/build.rs
index 335e87b6c1d8..3fdc7418c1c5 100644
--- a/tvix/store/build.rs
+++ b/tvix/store/build.rs
@@ -15,7 +15,7 @@ fn main() -> Result<()> {
             // If we are in running `cargo build` manually, using `../..` works fine,
             // but in case we run inside a nix build, we need to instead point PROTO_ROOT
             // to a sparseTree containing that structure.
-            &[match std::env::var_os(&"PROTO_ROOT") {
+            &[match std::env::var_os("PROTO_ROOT") {
                 Some(proto_root) => proto_root.to_str().unwrap().to_owned(),
                 None => "../..".to_string(),
             }],