]> Untitled Git - bdk/commitdiff
fix(docs): in keychain_txout.rs and spk_client.rs
authorshinigami-777 <chattopadhyaytamaghna@gmail.com>
Wed, 18 Mar 2026 21:50:18 +0000 (03:20 +0530)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Thu, 26 Mar 2026 20:34:33 +0000 (17:34 -0300)
crates/chain/src/indexer/keychain_txout.rs
crates/core/src/spk_client.rs

index cbad666964d03ca971e073686f8f3d2d265bd257..4c40ce734423d1576f76ebd5c01643aee72646dc 100644 (file)
@@ -1096,13 +1096,13 @@ impl Merge for ChangeSet {
 
 /// Trait to extend [`SyncRequestBuilder`].
 pub trait SyncRequestBuilderExt<K> {
-    /// 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<R>(self, indexer: &KeychainTxOutIndex<K>, spk_range: R) -> Self
     where
         R: core::ops::RangeBounds<K>;
 
-    /// 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<K>) -> Self;
 }
 
index 8612959cbb538b4f677f09850d20c9e12c093f39..c9cabc3e6c399d33b5e770d264995ae1967546e3 100644 (file)
@@ -137,8 +137,7 @@ impl<I, D> SyncRequestBuilder<I, D> {
     /// # 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;