mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-12 00:51:29 +01:00
feat: remove clone requirement for MerkleStore From constructors
This commit is contained in:
@@ -192,6 +192,9 @@ impl<'a> Iterator for MerkleTreeNodes<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
// UTILITY FUNCTIONS
|
||||
// ================================================================================================
|
||||
|
||||
/// Utility to visualize a [MerkleTree] in text.
|
||||
pub fn tree_to_text(tree: &MerkleTree) -> Result<String, fmt::Error> {
|
||||
let indent = " ";
|
||||
|
||||
Reference in New Issue
Block a user