Function egg::merge_min

source · []
pub fn merge_min<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 minimum of the two values.