diff --git a/src/suggestions.rs b/src/suggestions.rs index 107e9579..70e14aad 100644 --- a/src/suggestions.rs +++ b/src/suggestions.rs @@ -32,7 +32,7 @@ pub fn did_you_mean<'a, T, I>(v: &str, possible_values: I) -> Option<&'a str> #[cfg(not(feature = "suggestions"))] pub fn did_you_mean<'a, T, I>(_: &str, _: I) -> Option<&'a str> - where T: AsRef + 'a, + where T: AsRef + 'a + ?Sized, I: IntoIterator { None