Skip to content

Commit 161753c

Browse files
committed
Fix imports in test module
Use standard from for import statements. (Note `Arc` is already in scope in `super`.)
1 parent 2fd42d6 commit 161753c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/policy/mod.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,12 @@ mod tests {
223223
use core::str::FromStr;
224224

225225
use bitcoin::Sequence;
226-
#[cfg(feature = "compiler")]
227-
use sync::Arc;
228226

229-
use super::super::miniscript::context::Segwitv0;
230-
use super::super::miniscript::Miniscript;
231-
use super::{Concrete, Liftable, Semantic};
227+
use super::*;
232228
#[cfg(feature = "compiler")]
233229
use crate::descriptor::Tr;
230+
use crate::miniscript::context::Segwitv0;
231+
use crate::miniscript::Miniscript;
234232
use crate::prelude::*;
235233
#[cfg(feature = "compiler")]
236234
use crate::{descriptor::TapTree, Descriptor, Tap};

0 commit comments

Comments
 (0)