Fix clippy warnings: remove needless borrows in build.rs
All checks were successful
Build and Deploy to K3s / test (push) Successful in 2m8s
Build and Deploy to K3s / lint (push) Successful in 1m36s
Build and Deploy to K3s / build-and-push (push) Successful in 4m7s
Build and Deploy to K3s / deploy (push) Successful in 11s

This commit is contained in:
jasonwitty 2025-12-01 15:28:51 -08:00
parent bd31410d5a
commit dd11072560

View File

@ -105,11 +105,11 @@ fn build_documentation() {
let copy_result = if cfg!(target_os = "windows") { let copy_result = if cfg!(target_os = "windows") {
Command::new("xcopy") Command::new("xcopy")
.args(&["/E", "/I", "/Y", "docs\\book", "static\\docs"]) .args(["/E", "/I", "/Y", "docs\\book", "static\\docs"])
.status() .status()
} else { } else {
Command::new("cp") Command::new("cp")
.args(&["-r", "docs/book", "static/docs"]) .args(["-r", "docs/book", "static/docs"])
.status() .status()
}; };