From 0669994bbcb7252a97e98c8d37408726bd9db05f Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 28 Jul 2023 14:18:13 -0500 Subject: [PATCH] style: Make clippy happy --- clap_complete/examples/exhaustive.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/clap_complete/examples/exhaustive.rs b/clap_complete/examples/exhaustive.rs index 838341dd..9ebdde62 100644 --- a/clap_complete/examples/exhaustive.rs +++ b/clap_complete/examples/exhaustive.rs @@ -26,6 +26,7 @@ fn print_completions(gen: G, cmd: &mut clap::Command) { generate(gen, cmd, cmd.get_name().to_string(), &mut std::io::stdout()); } +#[allow(clippy::let_and_return)] fn cli() -> clap::Command { let cli = clap::Command::new("exhaustive") .version("3.0")