Merge rust-bitcoin/rust-bitcoin#3457: Fix unused import
a250c8eee4
Fix unused imports (Shing Him Ng) Pull request description: Found some unused imports while working on something unrelated ACKs for top commit: apoelstra: ACKa250c8eee4
successfully ran local tests tcharding: ACKa250c8eee4
Tree-SHA512: ffa4fcddb91c849df7885a6d734405ab704e0353293fa3462a981e179ea49091990df4482eee2324e7b5ef250a0890b2e8983d53ec288ca6e8ada77e30c102dc
This commit is contained in:
commit
ae2358610d
|
@ -10,7 +10,7 @@
|
||||||
//!
|
//!
|
||||||
//! This module provides the structures and functions needed to support transactions.
|
//! This module provides the structures and functions needed to support transactions.
|
||||||
|
|
||||||
use core::{cmp, fmt, str};
|
use core::{cmp, fmt};
|
||||||
|
|
||||||
#[cfg(feature = "arbitrary")]
|
#[cfg(feature = "arbitrary")]
|
||||||
use arbitrary::{Arbitrary, Unstructured};
|
use arbitrary::{Arbitrary, Unstructured};
|
||||||
|
@ -1342,6 +1342,8 @@ impl<'a> Arbitrary<'a> for Transaction {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
use core::str;
|
||||||
|
|
||||||
use hex::{test_hex_unwrap as hex, FromHex};
|
use hex::{test_hex_unwrap as hex, FromHex};
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
use internals::serde_round_trip;
|
use internals::serde_round_trip;
|
||||||
|
|
|
@ -15,6 +15,7 @@ use core::fmt;
|
||||||
#[cfg(feature = "arbitrary")]
|
#[cfg(feature = "arbitrary")]
|
||||||
use arbitrary::{Arbitrary, Unstructured};
|
use arbitrary::{Arbitrary, Unstructured};
|
||||||
use hashes::sha256d;
|
use hashes::sha256d;
|
||||||
|
#[cfg(feature = "alloc")]
|
||||||
use internals::write_err;
|
use internals::write_err;
|
||||||
#[cfg(feature = "alloc")]
|
#[cfg(feature = "alloc")]
|
||||||
use units::parse;
|
use units::parse;
|
||||||
|
|
Loading…
Reference in New Issue