pub fn closest<'a>( value: &str, candidates: impl IntoIterator<Item = &'a str>, ) -> Option<&'a str>
The candidate closest to value, when it is close enough to be a likely typo.
value