From ce773af20f77046483ee36ad92e91cf33cfda01e Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 2 Dec 2022 14:39:52 +1100 Subject: [PATCH] tests: Remove useless use of super imports We already import `super::*`, these other imports are useless. --- bitcoin/src/consensus/encode.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/bitcoin/src/consensus/encode.rs b/bitcoin/src/consensus/encode.rs index d8619578..b07d0384 100644 --- a/bitcoin/src/consensus/encode.rs +++ b/bitcoin/src/consensus/encode.rs @@ -809,8 +809,6 @@ impl Decodable for TapLeafHash { mod tests { use super::*; use core::{mem::{self, discriminant}, fmt}; - use super::{deserialize, serialize, Error, CheckedData, VarInt}; - use super::{Transaction, BlockHash, FilterHash, TxMerkleNode, TxOut, TxIn}; use crate::consensus::{Encodable, deserialize_partial, Decodable}; #[cfg(feature = "std")] use crate::network::{Address, message_blockdata::Inventory};