Skip to content

Commit

Permalink
Fix unused import warnings (#2775)
Browse files Browse the repository at this point in the history
  • Loading branch information
hashmap authored and garyyu committed Apr 23, 2019
1 parent 0e6a249 commit 3c400f7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion core/src/core/pmmr/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion core/src/core/pmmr/pmmr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3c400f7

Please sign in to comment.