[ci] Fix clippy warnings for 1.47.0

This commit is contained in:
Steve Myers
2020-10-08 16:55:49 -07:00
parent 98803b2573
commit 070d481849
2 changed files with 6 additions and 8 deletions

View File

@@ -140,13 +140,11 @@ pub enum SatisfiableItem {
impl SatisfiableItem {
pub fn is_leaf(&self) -> bool {
match self {
SatisfiableItem::Thresh {
items: _,
threshold: _,
} => false,
_ => true,
}
!matches!(self,
SatisfiableItem::Thresh {
items: _,
threshold: _,
})
}
pub fn id(&self) -> String {