Skip to content

Commit

Permalink
some comments formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Jan 9, 2025
1 parent 7f96a15 commit 52f1291
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions crates/trie/sparse/src/trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -746,11 +746,9 @@ impl<P> RevealedSparseTrie<P> {
.get(&path)
.is_some_and(|mask| mask.is_bit_set(last_child_nibble))
) ||
(
// A branch or an extension node explicitly set the
// `store_in_db_trie` flag
child_node_type.store_in_db_trie()
);
// A branch or an extension node explicitly set the
// `store_in_db_trie` flag
child_node_type.store_in_db_trie();
if should_set_tree_mask_bit {
tree_mask.set_bit(last_child_nibble);
}
Expand Down

0 comments on commit 52f1291

Please sign in to comment.