Skip to main content

closest

Function closest 

Source
fn closest<'a>(word: &str, names: impl Iterator<Item = &'a str>) -> Vec<String>
Expand description

Up to three of names nearest word by edit distance (ignoring case), within a third of its length (at least 2), nearest first.