diff --git a/miden-crypto/src/merkle/sparse_path.rs b/miden-crypto/src/merkle/sparse_path.rs index b59077e..1763da4 100644 --- a/miden-crypto/src/merkle/sparse_path.rs +++ b/miden-crypto/src/merkle/sparse_path.rs @@ -422,13 +422,13 @@ impl From<(SparseMerklePath, Word)> for SparseValuePath { } } -/// # Errors -/// -/// This conversion returns [MerkleError::DepthTooBig] if the path length is greater than -/// [`SMT_MAX_DEPTH`]. impl TryFrom for SparseValuePath { type Error = MerkleError; + /// # Errors + /// + /// This conversion returns [MerkleError::DepthTooBig] if the path length is greater than + /// [`SMT_MAX_DEPTH`]. fn try_from(other: ValuePath) -> Result { let ValuePath { value, path } = other; let path = SparseMerklePath::try_from(path)?;