mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
clippy: ignore useless_let_if_seq
This commit is contained in:
parent
97394164c7
commit
f54b9dce74
1 changed files with 1 additions and 0 deletions
|
@ -511,6 +511,7 @@ impl<'a> Help<'a> {
|
||||||
/// Writes help for all arguments (options, flags, args, subcommands)
|
/// Writes help for all arguments (options, flags, args, subcommands)
|
||||||
/// including titles of a Parser Object to the wrapped stream.
|
/// including titles of a Parser Object to the wrapped stream.
|
||||||
#[cfg_attr(feature = "lints", allow(useless_let_if_seq))]
|
#[cfg_attr(feature = "lints", allow(useless_let_if_seq))]
|
||||||
|
#[cfg_attr(feature = "cargo-clippy", allow(useless_let_if_seq))]
|
||||||
pub fn write_all_args(&mut self, parser: &Parser) -> ClapResult<()> {
|
pub fn write_all_args(&mut self, parser: &Parser) -> ClapResult<()> {
|
||||||
debugln!("Help::write_all_args;");
|
debugln!("Help::write_all_args;");
|
||||||
let flags = parser.has_flags();
|
let flags = parser.has_flags();
|
||||||
|
|
Loading…
Reference in a new issue