Skip to content

Commit

Permalink
fix dummies
Browse files Browse the repository at this point in the history
  • Loading branch information
ModProg committed Sep 29, 2021
1 parent 480035a commit 1229bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clap_derive/src/dummies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!()
}
}
Expand Down

0 comments on commit 1229bb3

Please sign in to comment.