Fix unused imports
This commit is contained in:
parent
fe62d94ff7
commit
a250c8eee4
|
@ -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};
|
||||||
|
@ -1339,6 +1339,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