From 5a584d0fd8c138757a10c7af93ec9e09523317e1 Mon Sep 17 00:00:00 2001 From: Lloyd Fournier Date: Tue, 11 Jun 2024 11:12:51 +1000 Subject: [PATCH] chore(chain): Fix Indexed and KeychainIndexed documentaion Co-authored-by: ValuedMammal --- crates/chain/src/keychain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/chain/src/keychain.rs b/crates/chain/src/keychain.rs index e1e6de68c..2a0500a4a 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 {