Skip to content

Commit

Permalink
fix: cargo doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
polydez committed Jan 24, 2025
1 parent 99a01c1 commit 5c69982
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/merkle/smt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,14 +507,14 @@ impl<const DEPTH: u8> Deserializable for LeafIndex<DEPTH> {
// MUTATIONS
// ================================================================================================

/// A change to an inner node of a [`SparseMerkleTree`] that hasn't yet been applied.
/// A change to an inner node of a sparse Merkle tree that hasn't yet been applied.
/// [`MutationSet`] stores this type in relation to a [`NodeIndex`] to keep track of what changes
/// need to occur at which node indices.
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum NodeMutation {
/// Corresponds to [`SparseMerkleTree::remove_inner_node()`].
/// Node needs to be removed.
Removal,
/// Corresponds to [`SparseMerkleTree::insert_inner_node()`].
/// Node needs to be inserted.
Addition(InnerNode),
}

Expand Down

0 comments on commit 5c69982

Please sign in to comment.