Skip to content

Commit 9c8b564

Browse files
shinigami-777oleonardolima
authored andcommitted
fix(docs): in keychain_txout.rs and spk_client.rs
1 parent 19d1269 commit 9c8b564

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/chain/src/indexer/keychain_txout.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,13 +1096,13 @@ impl Merge for ChangeSet {
10961096

10971097
/// Trait to extend [`SyncRequestBuilder`].
10981098
pub trait SyncRequestBuilderExt<K> {
1099-
/// Add [`Script`](bitcoin::Script)s that are revealed by the `indexer` of the given `spk_range`
1099+
/// Add [`Script`]s that are revealed by the `indexer` of the given `spk_range`
11001100
/// that will be synced against.
11011101
fn revealed_spks_from_indexer<R>(self, indexer: &KeychainTxOutIndex<K>, spk_range: R) -> Self
11021102
where
11031103
R: core::ops::RangeBounds<K>;
11041104

1105-
/// Add [`Script`](bitcoin::Script)s that are revealed by the `indexer` but currently unused.
1105+
/// Add [`Script`]s that are revealed by the `indexer` but currently unused.
11061106
fn unused_spks_from_indexer(self, indexer: &KeychainTxOutIndex<K>) -> Self;
11071107
}
11081108

crates/core/src/spk_client.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ impl<I, D> SyncRequestBuilder<I, D> {
137137
/// # Example
138138
///
139139
/// Sync revealed script pubkeys obtained from a
140-
/// [`KeychainTxOutIndex`](../../bdk_chain/indexer/keychain_txout/struct.KeychainTxOutIndex.
141-
/// html).
140+
/// [`KeychainTxOutIndex`](https://docs.rs/bdk_chain/latest/bdk_chain/indexer/keychain_txout/struct.KeychainTxOutIndex.html).
142141
///
143142
/// ```rust
144143
/// # use bdk_chain::bitcoin::BlockHash;

0 commit comments

Comments
 (0)