a250c8eee4 Fix unused imports (Shing Him Ng)

Pull request description:

  Found some unused imports while working on something unrelated

ACKs for top commit:
  apoelstra:
    ACK a250c8eee4 successfully ran local tests
  tcharding:
    ACK a250c8eee4

Tree-SHA512: ffa4fcddb91c849df7885a6d734405ab704e0353293fa3462a981e179ea49091990df4482eee2324e7b5ef250a0890b2e8983d53ec288ca6e8ada77e30c102dc
This commit is contained in:
merge-script 2024-10-12 14:56:48 +00:00
commit ae2358610d
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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;