fixes bad doc links

This commit is contained in:
arya2 2023-08-28 20:41:05 -04:00
parent c116cff5f0
commit 097d927ad0
2 changed files with 4 additions and 4 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>(
@ -88,7 +88,7 @@ where
}
/// Returns the Orchard
/// [`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 orchard_subtree<C>(