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 and r
For coercing a &[PanicVal<'_>; LEN] into a &[PanicVal<'_>].
Gets the maximum value in slice, returns 0 if the slice is empty.