pub(crate) fn layout_array<T>(n: usize) -> Result<Layout, CollectionAllocErr>
Expand description

FIXME: use Layout::array when we require a Rust version where it’s stable https://github.com/rust-lang/rust/issues/55724