shardtree: Remove unnecessary methods from the public API

This commit is contained in:
Jack Grigg 2023-07-25 17:19:43 +00:00
parent 06199d6f45
commit 5753ce005d
1 changed files with 1 additions and 1 deletions

View File

@ -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
}