mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +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) {
|
||||
append_dummy(quote! {
|
||||
impl clap::ArgEnum for #name {
|
||||
fn arg_values() -> Vec<clap::ArgValue<'static>> {
|
||||
fn value_variants<'a>() -> &'a [Self]{
|
||||
unimplemented!()
|
||||
}
|
||||
fn from_str(_input: &str, _case_insensitive: bool) -> Result<Self, String> {
|
||||
unimplemented!()
|
||||
}
|
||||
fn arg_value(&self) -> Option<clap::ArgValue<'static>> {
|
||||
fn arg_value<'a>(&self) -> Option<clap::ArgValue<'a>>{
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue