pub fn fuzzy_rank<'a, T>(
query: &str,
candidates: impl IntoIterator<Item = (T, &'a str)>,
) -> Vec<(T, FuzzyMatch)>Expand description
Match query against every candidate and return the matches, best first (ties keep the input
order, so callers can pre-sort by recency or frequency).