Fix clippy warnings: remove needless borrows in build.rs
This commit is contained in:
parent
bd31410d5a
commit
dd11072560
4
build.rs
4
build.rs
@ -105,11 +105,11 @@ fn build_documentation() {
|
||||
|
||||
let copy_result = if cfg!(target_os = "windows") {
|
||||
Command::new("xcopy")
|
||||
.args(&["/E", "/I", "/Y", "docs\\book", "static\\docs"])
|
||||
.args(["/E", "/I", "/Y", "docs\\book", "static\\docs"])
|
||||
.status()
|
||||
} else {
|
||||
Command::new("cp")
|
||||
.args(&["-r", "docs/book", "static/docs"])
|
||||
.args(["-r", "docs/book", "static/docs"])
|
||||
.status()
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user