fix redundant doc links (#7402)

This commit is contained in:
Alfredo Garcia 2023-08-28 17:11:23 -03:00 committed by GitHub
parent c116cff5f0
commit 3ca4597c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -693,7 +693,7 @@ impl Chain {
.cloned()
}
/// Returns the Sapling [`NoteCommitmentSubtree`](sapling::tree::NoteCommitmentSubtree) specified
/// Returns the Sapling [`NoteCommitmentSubtree`] specified
/// by a [`HashOrHeight`], if it exists in the non-finalized [`Chain`].
pub fn sapling_subtree_by_index(
&self,
@ -854,7 +854,7 @@ impl Chain {
.map(|(_height, tree)| tree.clone())
}
/// Returns the Orchard [`NoteCommitmentSubtree`](orchard::tree::NoteCommitmentSubtree) specified
/// Returns the Orchard [`NoteCommitmentSubtree`] specified
/// by a [`HashOrHeight`], if it exists in the non-finalized [`Chain`].
pub fn orchard_subtree(
&self,

View File

@ -45,7 +45,7 @@ where
}
/// Returns the Sapling
/// [`NoteCommitmentSubtree`](NoteCommitmentSubtree) specified by an
/// [`NoteCommitmentSubtree`] specified by an
/// index, if it exists in the non-finalized `chain` or finalized `db`.
#[allow(unused)]
pub fn sapling_subtree<C>(
@ -87,8 +87,7 @@ where
.or_else(|| db.orchard_tree_by_hash_or_height(hash_or_height))
}
/// Returns the Orchard
/// [`NoteCommitmentSubtree`](NoteCommitmentSubtree) specified by an
/// Returns the Orchard [`NoteCommitmentSubtree`] specified by an
/// index, if it exists in the non-finalized `chain` or finalized `db`.
#[allow(unused)]
pub fn orchard_subtree<C>(