diff --git a/build.rs b/build.rs index 6359a7b..f5a5253 100644 --- a/build.rs +++ b/build.rs @@ -7,11 +7,11 @@ include!("src/cli.rs"); fn main() -> Result<(), io::Error> { let outdir = "shell-completions"; - fs::create_dir_all(&outdir)?; + fs::create_dir_all(outdir)?; let mut cmd = Cli::command(); for &shell in Shell::value_variants() { - generate_to(shell, &mut cmd, env!("CARGO_PKG_NAME"), &outdir)?; + generate_to(shell, &mut cmd, env!("CARGO_PKG_NAME"), outdir)?; } Ok(())