Module const_panic::utils
source · Available on crate feature
non_basic
only.Expand description
Utility functions
Functions
- Flattens a
&[&[PanicVal<'a>]]
into a[PanicVal<'a>; LEN]
. - Gets the maximum value between
l
andr
- For coercing a
&[PanicVal<'_>; LEN]
into a&[PanicVal<'_>]
. - Gets the maximum value in
slice
, returns0
if the slice is empty.