diff --git a/bucket_map/src/index_entry.rs b/bucket_map/src/index_entry.rs index b0b485d0da0781..0c0f613ab8093e 100644 --- a/bucket_map/src/index_entry.rs +++ b/bucket_map/src/index_entry.rs @@ -86,15 +86,12 @@ pub(crate) struct MultipleSlots { } impl MultipleSlots { - pub(crate) fn set_storage_capacity_when_created_pow2( - &mut self, - storage_capacity_when_created_pow2: u8, - ) { + fn set_storage_capacity_when_created_pow2(&mut self, storage_capacity_when_created_pow2: u8) { self.storage_cap_and_offset .set_capacity_when_created_pow2(storage_capacity_when_created_pow2) } - pub(crate) fn set_storage_offset(&mut self, storage_offset: u64) { + fn set_storage_offset(&mut self, storage_offset: u64) { self.storage_cap_and_offset .set_offset_checked(storage_offset) .expect("New storage offset must fit into 7 bytes!")