diff --git a/src/prelude.rs b/src/prelude.rs index 61237be..c0692bc 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -1,7 +1,5 @@ pub use core::prelude::v1::*; - - pub use alloc::string::{String, ToString}; pub use alloc::vec::Vec; @@ -9,5 +7,3 @@ pub use alloc::format; pub use alloc::vec; // Those are exported by default in the std prelude in Rust 2021 - - diff --git a/tests/common.rs b/tests/common.rs index 6a578b9..37f521f 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -123,7 +123,6 @@ pub fn setup_proof_test_cases() -> Vec { .collect(); let merkle_tree = MerkleTree::::from_leaves(&leaves); - ProofTestCases { merkle_tree, cases } }) .collect() diff --git a/tests/merkle_proof_test.rs b/tests/merkle_proof_test.rs index 087e89a..87e86ee 100644 --- a/tests/merkle_proof_test.rs +++ b/tests/merkle_proof_test.rs @@ -173,7 +173,7 @@ pub mod to_bytes { } pub mod from_bytes { - + use rs_merkle::{algorithms::Sha256, Error, MerkleProof}; #[test] diff --git a/tests/merkle_tree_test.rs b/tests/merkle_tree_test.rs index e38caa0..e983fd6 100644 --- a/tests/merkle_tree_test.rs +++ b/tests/merkle_tree_test.rs @@ -197,7 +197,7 @@ pub mod commit { } pub mod rollback { - + use rs_merkle::{algorithms::Sha256, Hasher, MerkleTree}; #[test]