chore(chain): Fix Indexed and KeychainIndexed documentaion

Co-authored-by: ValuedMammal <valuedmammal@protonmail.com>
This commit is contained in:
Lloyd FournierandValuedMammal authored and 志宇 committed 2024-06-13 22:52:45 +08:00
1 parent b8ba5a0206
commit 5a584d0fd8
1 file changed
+2 -2
+2 -2
View 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 {