Skip to content

Commit f54b9dc

Browse files
committed
clippy: ignore useless_let_if_seq
1 parent 9739416 commit f54b9dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/help.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ impl<'a> Help<'a> {
511511
/// Writes help for all arguments (options, flags, args, subcommands)
512512
/// including titles of a Parser Object to the wrapped stream.
513513
#[cfg_attr(feature = "lints", allow(useless_let_if_seq))]
514+
#[cfg_attr(feature = "cargo-clippy", allow(useless_let_if_seq))]
514515
pub fn write_all_args(&mut self, parser: &Parser) -> ClapResult<()> {
515516
debugln!("Help::write_all_args;");
516517
let flags = parser.has_flags();

0 commit comments

Comments
 (0)