Skip to content

Commit

Permalink
fix formatting after #507
Browse files Browse the repository at this point in the history
  • Loading branch information
apoelstra committed Dec 23, 2022
1 parent 6ed008f commit f0f7fd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/miniscript/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ use crate::miniscript::types::extra_props::ExtData;
use crate::miniscript::types::{Property, Type};
use crate::miniscript::ScriptContext;
use crate::prelude::*;
use crate::{bitcoin, hash256, Error, Miniscript, MiniscriptKey, ToPublicKey};

#[cfg(doc)]
use crate::Descriptor;
use crate::{bitcoin, hash256, Error, Miniscript, MiniscriptKey, ToPublicKey};

fn return_none<T>(_: usize) -> Option<T> {
None
Expand Down
3 changes: 1 addition & 2 deletions src/policy/concrete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ use super::ENTAILMENT_MAX_TERMINALS;
use crate::expression::{self, FromTree};
use crate::miniscript::types::extra_props::TimelockInfo;
use crate::prelude::*;
use crate::{errstr, Error, ForEachKey, MiniscriptKey, Translator};

#[cfg(all(doc, not(feature = "compiler")))]
use crate::Descriptor;
use crate::{errstr, Error, ForEachKey, MiniscriptKey, Translator};

/// Maximum TapLeafs allowed in a compiled TapTree
#[cfg(feature = "compiler")]
Expand Down

0 comments on commit f0f7fd6

Please sign in to comment.