diff --git a/build.rs b/build.rs index 22b331d..dd8257f 100644 --- a/build.rs +++ b/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() };