From: shinigami-777 Date: Wed, 18 Mar 2026 21:50:18 +0000 (+0530) Subject: fix(docs): in keychain_txout.rs and spk_client.rs X-Git-Url: http://internal-gitweb-vhost/parse/src/example_cli/%22https:/encode/struct.Span.html?a=commitdiff_plain;h=9c8b564fb4d9fc0ecf6a03f1cd6668de73555eb3;p=bdk fix(docs): in keychain_txout.rs and spk_client.rs --- 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;