From 6978cea693693d3b424281849e3c262e719e8ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Awirski?= Date: Wed, 16 Apr 2025 10:07:56 +0200 Subject: [PATCH] move comment --- miden-crypto/src/merkle/sparse_path.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)?;