Macro sugar::max []

macro_rules! max {
    ( $ x : expr ) => { ... };
    ( $ x : expr , $ ( $ xs : expr ) , + ) => { ... };
}

Returns the highest value (Ord) of the passed parameters.

Examples

max!(3, 7, 2, 5);
= 7