From 0bf08138365d776379fd835f76f203eb3f6b174c Mon Sep 17 00:00:00 2001 From: Owen Walpole Date: Mon, 27 May 2024 15:44:10 -0500 Subject: [PATCH] build.rs clippy lint --- build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(())