From: LLFourn Date: Tue, 22 Dec 2020 03:37:53 +0000 (+1100) Subject: Fix incredibly annoying cargo-fmt problem X-Git-Tag: v0.3.0~13^2 X-Git-Url: http://internal-gitweb-vhost/%22https:/parse/scripts/database/-script/-debug/struct.ScriptPath.html?a=commitdiff_plain;h=a578d20282f7b1545020770207f1b0d84e59473f;p=bdk 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. --- diff --git a/src/descriptor/policy.rs b/src/descriptor/policy.rs index f90b0125..789e69e9 100644 --- a/src/descriptor/policy.rs +++ b/src/descriptor/policy.rs @@ -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`]