Skip to content

Commit b500a0a

Browse files
authored
fix test failure
removed wrong assertation code
1 parent 5a59dd3 commit b500a0a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/raw/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,6 @@ fn calculate_layout<T>(buckets: usize) -> Option<(Layout, usize)> {
231231
// Group::WIDTH is a small number.
232232
let ctrl = unsafe { Layout::from_size_align_unchecked(buckets + Group::WIDTH, Group::WIDTH) };
233233

234-
// There must be no padding between two tables.
235-
debug_assert_eq!(data.padding_needed_for(Group::WIDTH), 0);
236-
237234
data.extend(ctrl).ok()
238235
}
239236

0 commit comments

Comments
 (0)