Function compare_matches

Source
fn compare_matches(match1: &[MatchKind], match2: &[MatchKind]) -> Ordering
Expand description

Compare two matches and decide which one of the two is better (Ordering::Greater)