Function flatten_panicvals

Source
pub const fn flatten_panicvals<'a, const LEN: usize>(
    input: &[&[PanicVal<'a>]],
) -> [PanicVal<'a>; LEN]
Expand description

Flattens a &[&[PanicVal<'a>]] into a [PanicVal<'a>; LEN].

If LEN is greater than the amount of PanicVals in the slices, this fills the remaining array with PanicVal::EMPTY.

ยงPanics

Panics if the amount of PanicVals in the slices is greater than LEN.