From 00f8d039a8a51fb729381da8a46977983cb117da Mon Sep 17 00:00:00 2001 From: withbest Date: Mon, 13 Jan 2025 14:56:27 +0100 Subject: [PATCH] chore: remove redundant words in comment (#274) Signed-off-by: withbest --- utils/src/merkle_tree/full_merkle_tree.rs | 2 +- utils/src/merkle_tree/optimal_merkle_tree.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/src/merkle_tree/full_merkle_tree.rs b/utils/src/merkle_tree/full_merkle_tree.rs index 11610ca..a0fd077 100644 --- a/utils/src/merkle_tree/full_merkle_tree.rs +++ b/utils/src/merkle_tree/full_merkle_tree.rs @@ -257,7 +257,7 @@ where Ok(()) } - // Computes a merkle proof the the leaf at the specified index + // Computes a merkle proof the leaf at the specified index fn proof(&self, leaf: usize) -> Result> { if leaf >= self.capacity() { return Err(Report::msg("index exceeds set size")); diff --git a/utils/src/merkle_tree/optimal_merkle_tree.rs b/utils/src/merkle_tree/optimal_merkle_tree.rs index 40c3fc1..ef31cb6 100644 --- a/utils/src/merkle_tree/optimal_merkle_tree.rs +++ b/utils/src/merkle_tree/optimal_merkle_tree.rs @@ -225,7 +225,7 @@ where Ok(()) } - // Computes a merkle proof the the leaf at the specified index + // Computes a merkle proof the leaf at the specified index fn proof(&self, index: usize) -> Result { if index >= self.capacity() { return Err(Report::msg("index exceeds set size"));