fn suggest_candidate<'a, I>(value: &str, candidates: I) -> Option<&'a str>where
I: IntoIterator<Item = &'a str>,
Expand description
Given a user-provided value that couldn’t be matched to a known option, finds the most likely candidate among candidates that the user might have meant.