]> Untitled Git - bdk/commitdiff
chore(chain): Fix Indexed and KeychainIndexed documentaion
authorLloyd Fournier <LLFourn@users.noreply.github.com>
Tue, 11 Jun 2024 01:12:51 +0000 (11:12 +1000)
committer志宇 <hello@evanlinjin.me>
Thu, 13 Jun 2024 14:52:45 +0000 (22:52 +0800)
Co-authored-by: ValuedMammal <valuedmammal@protonmail.com>
crates/chain/src/keychain.rs

index e1e6de68c887d59531c7f313f3651c3730df6ba9..2a0500a4a96c069986b7bdf0363ee038d2a188a6 100644 (file)
@@ -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<T> = (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, T> = ((K, u32), T);
 
 impl core::fmt::Display for Balance {