From 9c8b564fb4d9fc0ecf6a03f1cd6668de73555eb3 Mon Sep 17 00:00:00 2001 From: shinigami-777 Date: Thu, 19 Mar 2026 03:20:18 +0530 Subject: [PATCH] fix(docs): in keychain_txout.rs and spk_client.rs --- crates/chain/src/indexer/keychain_txout.rs | 4 ++-- crates/core/src/spk_client.rs | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/chain/src/indexer/keychain_txout.rs b/crates/chain/src/indexer/keychain_txout.rs index cbad6669..4c40ce73 100644 --- a/crates/chain/src/indexer/keychain_txout.rs +++ b/crates/chain/src/indexer/keychain_txout.rs @@ -1096,13 +1096,13 @@ impl Merge for ChangeSet { /// Trait to extend [`SyncRequestBuilder`]. pub trait SyncRequestBuilderExt { - /// Add [`Script`](bitcoin::Script)s that are revealed by the `indexer` of the given `spk_range` + /// Add [`Script`]s that are revealed by the `indexer` of the given `spk_range` /// that will be synced against. fn revealed_spks_from_indexer(self, indexer: &KeychainTxOutIndex, spk_range: R) -> Self where R: core::ops::RangeBounds; - /// Add [`Script`](bitcoin::Script)s that are revealed by the `indexer` but currently unused. + /// Add [`Script`]s that are revealed by the `indexer` but currently unused. fn unused_spks_from_indexer(self, indexer: &KeychainTxOutIndex) -> Self; } diff --git a/crates/core/src/spk_client.rs b/crates/core/src/spk_client.rs index 8612959c..c9cabc3e 100644 --- a/crates/core/src/spk_client.rs +++ b/crates/core/src/spk_client.rs @@ -137,8 +137,7 @@ impl SyncRequestBuilder { /// # Example /// /// Sync revealed script pubkeys obtained from a - /// [`KeychainTxOutIndex`](../../bdk_chain/indexer/keychain_txout/struct.KeychainTxOutIndex. - /// html). + /// [`KeychainTxOutIndex`](https://docs.rs/bdk_chain/latest/bdk_chain/indexer/keychain_txout/struct.KeychainTxOutIndex.html). /// /// ```rust /// # use bdk_chain::bitcoin::BlockHash; -- 2.49.0