foyer_common::bits

Function debug_assert_pow2

source
pub fn debug_assert_pow2<U: Unsigned>(v: U)
Expand description

Debug assert that the given value is a power of 2.