Skip to main content

fuzzy_score

Function fuzzy_score 

Source
pub fn fuzzy_score(needle: &str, haystack: &str) -> Option<i32>
Expand description

Whether and how well needle matches haystack (higher is better), through crate::home::fuzzy::best_match like every ranking and highlight.