summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-04-07 12:28:42 +0300
committerLars Wirzenius <liw@liw.fi>2023-04-07 12:28:42 +0300
commit10f9d1eacee90334806936cc5d0d9f2fedc905de (patch)
tree1ec2884c633d3a38decff44cee2111949b7a69f5
parent88cb610a7e45cfd860ded97a0ab6c5e1d21d1967 (diff)
downloadvmadm-10f9d1eacee90334806936cc5d0d9f2fedc905de.tar.gz
fix: avoid unnecessary borrowing
Sponsored-by: author
-rw-r--r--build.rs2
1 files changed, 1 insertions, 1 deletions
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();
}