Remove reexport of HeapSizeOf in util (#6419)
This commit is contained in:
committed by
Tomasz Drwięga
parent
f7e15f2450
commit
6b5ad69c22
@@ -19,7 +19,8 @@
|
||||
use engines::Engine;
|
||||
use error::Error;
|
||||
|
||||
use util::{HeapSizeOf, H256, U256};
|
||||
use heapsize::HeapSizeOf;
|
||||
use util::{H256, U256};
|
||||
|
||||
pub use self::blocks::Blocks;
|
||||
pub use self::headers::Headers;
|
||||
@@ -72,7 +73,8 @@ pub mod blocks {
|
||||
use header::Header;
|
||||
use verification::{PreverifiedBlock, verify_block_basic, verify_block_unordered};
|
||||
|
||||
use util::{Bytes, HeapSizeOf, H256, U256};
|
||||
use heapsize::HeapSizeOf;
|
||||
use util::{Bytes, H256, U256};
|
||||
|
||||
/// A mode for verifying blocks.
|
||||
pub struct Blocks;
|
||||
|
||||
@@ -22,6 +22,7 @@ use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering as AtomicOrdering};
|
||||
use std::sync::{Condvar as SCondvar, Mutex as SMutex, Arc};
|
||||
use std::cmp;
|
||||
use std::collections::{VecDeque, HashSet, HashMap};
|
||||
use heapsize::HeapSizeOf;
|
||||
use util::*;
|
||||
use io::*;
|
||||
use error::*;
|
||||
|
||||
Reference in New Issue
Block a user