Skip to content

Commit

Permalink
run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
antouhou committed Jan 11, 2024
1 parent 48745da commit cc44a14
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
pub use core::prelude::v1::*;



pub use alloc::string::{String, ToString};
pub use alloc::vec::Vec;

pub use alloc::format;
pub use alloc::vec;

// Those are exported by default in the std prelude in Rust 2021


1 change: 0 additions & 1 deletion tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ pub fn setup_proof_test_cases() -> Vec<ProofTestCases> {
.collect();
let merkle_tree = MerkleTree::<Sha256>::from_leaves(&leaves);


ProofTestCases { merkle_tree, cases }
})
.collect()
Expand Down
2 changes: 1 addition & 1 deletion tests/merkle_proof_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ pub mod to_bytes {
}

pub mod from_bytes {

use rs_merkle::{algorithms::Sha256, Error, MerkleProof};

#[test]
Expand Down
2 changes: 1 addition & 1 deletion tests/merkle_tree_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub mod commit {
}

pub mod rollback {

use rs_merkle::{algorithms::Sha256, Hasher, MerkleTree};

#[test]
Expand Down

0 comments on commit cc44a14

Please sign in to comment.