mirror of
https://github.com/clap-rs/clap
synced 2025-01-07 10:18:48 +00:00
fix dummies
This commit is contained in:
parent
480035ac9c
commit
15fcf814c2
1 changed files with 2 additions and 2 deletions
|
@ -76,13 +76,13 @@ pub fn args(name: &Ident) {
|
||||||
pub fn arg_enum(name: &Ident) {
|
pub fn arg_enum(name: &Ident) {
|
||||||
append_dummy(quote! {
|
append_dummy(quote! {
|
||||||
impl clap::ArgEnum for #name {
|
impl clap::ArgEnum for #name {
|
||||||
fn arg_values() -> Vec<clap::ArgValue<'static>> {
|
fn value_variants<'a>() -> &'a [Self]{
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
}
|
}
|
||||||
fn from_str(_input: &str, _case_insensitive: bool) -> Result<Self, String> {
|
fn from_str(_input: &str, _case_insensitive: bool) -> Result<Self, String> {
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
}
|
}
|
||||||
fn arg_value(&self) -> Option<clap::ArgValue<'static>> {
|
fn arg_value<'a>(&self) -> Option<clap::ArgValue<'a>>{
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue