Use self for Error variant imports
Use `self` to import the error variants to make it more explicit.
This commit is contained in:
parent
83c2a552db
commit
19e094788f
|
@ -48,8 +48,8 @@ use crate::consensus::encode::{self, Decodable, Encodable};
|
|||
use crate::hash_types::{TxMerkleNode, Txid};
|
||||
use crate::hashes::Hash;
|
||||
use crate::io;
|
||||
use crate::merkle_tree::MerkleBlockError::*;
|
||||
use crate::prelude::*;
|
||||
use self::MerkleBlockError::*;
|
||||
|
||||
/// An error when verifying the merkle block.
|
||||
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||
|
|
Loading…
Reference in New Issue