max_const

Function max_const 

Source
pub const fn max_const(a: u64, b: u64) -> u64
Expand description

Return the maximum of two values - compile-time constant.

ยงExamples

use chie_core::utils::max_const;
assert_eq!(max_const(5, 10), 10);