clippy: ignore useless_let_if_seq

This commit is contained in:
Corentin Henry 2017-06-08 18:35:23 -07:00
parent 97394164c7
commit f54b9dce74

View file

@ -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();