Function xkcd_search::search_fuzzy [−][src]
pub async fn search_fuzzy(
query: &str,
threshold: f32
) -> XKCDResult<Vec<(String, u32)>>
Expand description
Searches for a comic with a fuzzy compare function that assigns a score to each match. The Threshold defines what still counts as a match