Fix unused import warnings (#2775)

This commit is contained in:
hashmap 2019-04-23 12:16:03 +02:00 committed by Gary Yu
parent 0e6a249126
commit 3c400f7e2a
3 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View file

@ -1,3 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "adler32"
version = "1.0.3"

View file

@ -17,7 +17,6 @@ use croaring::Bitmap;
use crate::core::hash::Hash;
use crate::core::BlockHeader;
use crate::ser::PMMRable;
use std::path::Path;
/// Storage backend for the MMR, just needs to be indexed by order of insertion.
/// The PMMR itself does not need the Backend to be accurate on the existence

View file

@ -22,7 +22,6 @@ use crate::core::merkle_proof::MerkleProof;
use crate::core::pmmr::{Backend, ReadonlyPMMR};
use crate::core::BlockHeader;
use crate::ser::{PMMRIndexHashable, PMMRable};
use std::path::Path;
/// 64 bits all ones: 0b11111111...1
const ALL_ONES: u64 = u64::MAX;