Skip to content

Commit

Permalink
chore(stdlib): rm unsupported doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joss-aztec committed Apr 11, 2023
1 parent 7a486f0 commit 854f5d5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions noir_stdlib/src/merkle/smt.nr
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ struct SparseMerkleTree {
}

impl SparseMerkleTree {
/// Constrains that the new leaf is located in the new tree at an index
/// that previously held the default value in the old tree.
// Constrains that the new leaf is located in the new tree at an index
// that previously held the default value in the old tree.
fn insert(self,
old_root: Field,
new_root: Field,
Expand All @@ -24,8 +24,8 @@ impl SparseMerkleTree {
);
}

/// Constrains that the new tree holds the default value at the same
/// index that the old tree held the old leaf.
// Constrains that the new tree holds the default value at the same
// index that the old tree held the old leaf.
fn delete(
self,
old_root: Field,
Expand All @@ -44,9 +44,9 @@ impl SparseMerkleTree {
);
}

/// Constrains that the changed leaf's before and after values are
/// consistent with the given merkle roots, and that the leaf at the
/// specified index is the only difference between the trees.
// Constrains that the changed leaf's before and after values are
// consistent with the given merkle roots, and that the leaf at the
// specified index is the only difference between the trees.
fn update(
old_root: Field,
old_leaf: Field,
Expand Down

0 comments on commit 854f5d5

Please sign in to comment.