diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-04-07 12:28:42 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-04-07 12:28:42 +0300 |
commit | 10f9d1eacee90334806936cc5d0d9f2fedc905de (patch) | |
tree | 1ec2884c633d3a38decff44cee2111949b7a69f5 | |
parent | 88cb610a7e45cfd860ded97a0ab6c5e1d21d1967 (diff) | |
download | vmadm-10f9d1eacee90334806936cc5d0d9f2fedc905de.tar.gz |
fix: avoid unnecessary borrowing
Sponsored-by: author
-rw-r--r-- | build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } |