Corelib
a
b
pub fn max, +Drop, +Copy>(a: T, b: T) -> T
use core::cmp::max; assert!(max(0, 1) == 1);
Was this page helpful?