From 10f9d1eacee90334806936cc5d0d9f2fedc905de Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 7 Apr 2023 12:28:42 +0300 Subject: fix: avoid unnecessary borrowing Sponsored-by: author --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 278a7c6..cc7a62c 100644 --- a/build.rs +++ b/build.rs @@ -7,5 +7,5 @@ fn main() { let mut path: PathBuf = std::env::var("OUT_DIR").unwrap().into(); path.push("cloud-init.rs"); - write(&path, &format!("r#\"{}\"#\n", py)).unwrap(); + write(&path, format!("r#\"{}\"#\n", py)).unwrap(); } -- cgit v1.2.1