From: Lloyd Fournier Date: Tue, 11 Jun 2024 01:12:51 +0000 (+1000) Subject: chore(chain): Fix Indexed and KeychainIndexed documentaion X-Git-Tag: v1.0.0-alpha.13~4^2~7 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/static/struct.PushBytesError.html?a=commitdiff_plain;h=5a584d0fd8c138757a10c7af93ec9e09523317e1;p=bdk chore(chain): Fix Indexed and KeychainIndexed documentaion Co-authored-by: ValuedMammal --- diff --git a/crates/chain/src/keychain.rs b/crates/chain/src/keychain.rs index e1e6de68..2a0500a4 100644 --- a/crates/chain/src/keychain.rs +++ b/crates/chain/src/keychain.rs @@ -49,9 +49,9 @@ impl Balance { } } -/// A tuple of keychain index and corresponding [`ScriptBuf`]. +/// A tuple of keychain index and `T` representing the indexed value. pub type Indexed = (u32, T); -/// A tuple of keychain, index and the [`ScriptBuf`] derived at that location. +/// A tuple of keychain `K`, derivation index (`u32`) and a `T` associated with them. pub type KeychainIndexed = ((K, u32), T); impl core::fmt::Display for Balance {