fix: fixes a failing build with no-default-features

This commit is contained in:
Kevin K 2017-03-09 20:23:45 -05:00
parent 5c76350f77
commit b841f3743f
No known key found for this signature in database
GPG key ID: 17218E4B3692F01A

View file

@ -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<str> + 'a,
where T: AsRef<str> + 'a + ?Sized,
I: IntoIterator<Item = &'a T>
{
None