We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a59dd3 commit b500a0aCopy full SHA for b500a0a
src/raw/mod.rs
@@ -231,9 +231,6 @@ fn calculate_layout<T>(buckets: usize) -> Option<(Layout, usize)> {
231
// Group::WIDTH is a small number.
232
let ctrl = unsafe { Layout::from_size_align_unchecked(buckets + Group::WIDTH, Group::WIDTH) };
233
234
- // There must be no padding between two tables.
235
- debug_assert_eq!(data.padding_needed_for(Group::WIDTH), 0);
236
-
237
data.extend(ctrl).ok()
238
}
239
0 commit comments