chore: remove redundant words in comment (#274)

Signed-off-by: withbest <seekseat@outlook.com.>
This commit is contained in:
withbest 2025-01-13 14:56:27 +01:00 committed by GitHub
parent e39f156fff
commit 00f8d039a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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<FullMerkleProof<H>> {
if leaf >= self.capacity() {
return Err(Report::msg("index exceeds set size"));

View File

@ -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<Self::Proof> {
if index >= self.capacity() {
return Err(Report::msg("index exceeds set size"));