docs: mention tree form order of NodeIndex docs
This commit is contained in:
parent
85ba3f1a34
commit
dfb073f784
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ use super::{Felt, MerkleError, RpoDigest, StarkField};
|
|||
// ================================================================================================
|
||||
|
||||
/// A Merkle tree address to an arbitrary node.
|
||||
///
|
||||
/// The position is relative to a tree in level order, where for a given depth `d` elements are
|
||||
/// numbered from $0..2^d$.
|
||||
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, PartialOrd, Ord, Hash)]
|
||||
pub struct NodeIndex {
|
||||
depth: u8,
|
||||
|
|
Loading…
Add table
Reference in a new issue