mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
style: Make clippy happy
This commit is contained in:
parent
edabdf72b5
commit
0669994bbc
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ fn print_completions<G: Generator>(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")
|
||||
|
|
Loading…
Reference in a new issue