From f54b9dce74468af085d44727c89ec64039ef43bd Mon Sep 17 00:00:00 2001 From: Corentin Henry Date: Thu, 8 Jun 2017 18:35:23 -0700 Subject: [PATCH] clippy: ignore useless_let_if_seq --- src/app/help.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/help.rs b/src/app/help.rs index dcd4a385..35a2066a 100644 --- a/src/app/help.rs +++ b/src/app/help.rs @@ -511,6 +511,7 @@ impl<'a> Help<'a> { /// Writes help for all arguments (options, flags, args, subcommands) /// including titles of a Parser Object to the wrapped stream. #[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<()> { debugln!("Help::write_all_args;"); let flags = parser.has_flags();