Fix incredibly annoying cargo-fmt problem

I must have a newer version of cargo-fmt which stops me from making
commits every time because of this.
This commit is contained in:
LLFourn 2020-12-22 14:37:53 +11:00
parent 63aabe203f
commit a578d20282
No known key found for this signature in database
GPG Key ID: A27093B54DA11F65

View File

@ -165,11 +165,13 @@ pub enum SatisfiableItem {
impl SatisfiableItem {
/// Returns whether the [`SatisfiableItem`] is a leaf item
pub fn is_leaf(&self) -> bool {
!matches!(self,
SatisfiableItem::Thresh {
items: _,
threshold: _,
})
!matches!(
self,
SatisfiableItem::Thresh {
items: _,
threshold: _,
}
)
}
/// Returns a unique id for the [`SatisfiableItem`]