Skip to main content

closest

Function closest 

Source
pub fn closest(word: &str, n: usize) -> Vec<&'static str>
Expand description

Up to n function names closest to word by edit distance (a typo’s likely meaning), nearest first; only those within a third of its length, at least 2.