chore: clippy run

This commit is contained in:
Kevin K 2016-10-31 15:09:20 -04:00
parent 1ff9791fb4
commit 61bde461e1
No known key found for this signature in database
GPG key ID: 17218E4B3692F01A
2 changed files with 2 additions and 1 deletions

View file

@ -24,7 +24,7 @@ ansi_term = { version = "~0.9.0", optional = true }
term_size = { version = "~0.2.0", optional = true }
libc = { version = "~0.2.9", optional = true }
yaml-rust = { version = "~0.3.2", optional = true }
clippy = { version = "~0.0.95", optional = true }
clippy = { version = "~0.0.96", optional = true }
[dev-dependencies]
regex = "~0.1.69"

View file

@ -260,6 +260,7 @@ impl<'a, 'b> Parser<'a, 'b>
}
}
#[cfg_attr(feature = "lints", allow(needless_borrow))]
pub fn derive_display_order(&mut self) {
if self.settings.is_set(AppSettings::DeriveDisplayOrder) {
let unified = self.settings.is_set(AppSettings::UnifiedHelpMessage);