Skip to content

Commit

Permalink
shardtree: Remove unnecessary methods from the public API
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Jul 25, 2023
1 parent 06199d6 commit 5753ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shardtree/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl<
Address::above_position(Self::subtree_level(), pos)
}

pub fn max_subtree_index() -> u64 {
fn max_subtree_index() -> u64 {
(0x1 << (DEPTH - SHARD_HEIGHT)) - 1
}

Expand Down

0 comments on commit 5753ce0

Please sign in to comment.