about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-15T14·47+0200
committerclbot <clbot@tvl.fyi>2023-02-15T18·40+0000
commitf2624f10282cb7d76332888b10bd23ad47bfe727 (patch)
treefc9618c0103ad885234fc8ea815b15d1bcba7dbc
parentcb8466d41791c02a20815ac321b9dceb347fbdc4 (diff)
refactor(tvix/store): remove needless borrow in build.rs r/5854
Change-Id: I2c2a70e5ffbb080702f57218aa9dcfe53d08870f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8110
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
-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 ef1674cfbd0b..e75f021a2bcf 100644
--- a/tvix/store/build.rs
+++ b/tvix/store/build.rs
@@ -9,7 +9,7 @@ fn main() -> Result<()> {
         let out_dir = std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap());
         let descriptor_path = out_dir.join("tvix.store.v1.bin");
 
-        builder = builder.file_descriptor_set_path(&descriptor_path);
+        builder = builder.file_descriptor_set_path(descriptor_path);
     };
 
     builder.build_server(true).build_client(true).compile(