I wanted a function which would compare a string to a list of strings and find the closest match, while ignoring case.
jlgerber / closest-str Goto Github PK
View Code? Open in Web Editor NEWtrivial crate which uses strsim crate to calculate the closest &str in a &[&str]