mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
fix: fixes a failing build with no-default-features
This commit is contained in:
parent
5c76350f77
commit
b841f3743f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ pub fn did_you_mean<'a, T, I>(v: &str, possible_values: I) -> Option<&'a str>
|
||||||
|
|
||||||
#[cfg(not(feature = "suggestions"))]
|
#[cfg(not(feature = "suggestions"))]
|
||||||
pub fn did_you_mean<'a, T, I>(_: &str, _: I) -> Option<&'a str>
|
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>
|
I: IntoIterator<Item = &'a T>
|
||||||
{
|
{
|
||||||
None
|
None
|
||||||
|
|
Loading…
Reference in a new issue