Skip to content

Commit 1423dc1

Browse files
committed
fixup! feat: Derive clap::Args for enums
1 parent 9252a87 commit 1423dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clap_derive/src/derives/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub(crate) fn gen_for_enum(
104104
})
105105
.collect::<Vec<_>>();
106106

107-
let fields = collect_args_fields(&item, fields)?;
107+
let fields = collect_args_fields(item, fields)?;
108108

109109
let augmentation = gen_augment(&fields, &app_var, item, &conflicts, false)?;
110110
let augmentation = quote! {

0 commit comments

Comments
 (0)