Skip to content

Commit ad865bb

Browse files
LLFournValuedMammal
andcommitted
chore(chain): Fix Indexed and KeychainIndexed documentaion
Co-authored-by: ValuedMammal <[email protected]>
1 parent 558a33a commit ad865bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/chain/src/keychain.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ impl Balance {
4949
}
5050
}
5151

52-
/// A tuple of keychain index and corresponding [`ScriptBuf`].
52+
/// A tuple of keychain index and `T` representing the indexed value.
5353
pub type Indexed<T> = (u32, T);
54-
/// A tuple of keychain, index and the [`ScriptBuf`] derived at that location.
54+
/// A tuple of keychain `K`, derivation index (`u32`) and a `T` associated with them.
5555
pub type KeychainIndexed<K, T> = ((K, u32), T);
5656

5757
impl core::fmt::Display for Balance {

0 commit comments

Comments
 (0)