diff --git a/src/raw/mod.rs b/src/raw/mod.rs index a683e6b2f8..fa7e4563b1 100644 --- a/src/raw/mod.rs +++ b/src/raw/mod.rs @@ -231,9 +231,6 @@ fn calculate_layout(buckets: usize) -> Option<(Layout, usize)> { // Group::WIDTH is a small number. let ctrl = unsafe { Layout::from_size_align_unchecked(buckets + Group::WIDTH, Group::WIDTH) }; - // There must be no padding between two tables. - debug_assert_eq!(data.padding_needed_for(Group::WIDTH), 0); - data.extend(ctrl).ok() }