Function egg::merge_max

source · []
pub fn merge_max<T: Ord>(to: &mut T, from: T) -> DidMerge
Expand description

A utility for implementing Analysis::merge when the Data type has a total ordering. This will take the maximum of the two values.