Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 79e11b6

Browse files
committed
update for new possible_values syntax
1 parent a7c5773 commit 79e11b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

token/cli/src/clap_app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ pub fn app<'a, 'b>(
11811181
Arg::with_name("authority_type")
11821182
.value_name("AUTHORITY_TYPE")
11831183
.takes_value(true)
1184-
.possible_values(&CliAuthorityType::iter().map(Into::into).collect::<Vec<_>>())
1184+
.possible_values(&CliAuthorityType::iter().map(Into::<&str>::into).collect::<Vec<_>>())
11851185
.index(2)
11861186
.required(true)
11871187
.help("The new authority type. \

0 commit comments

Comments
 (0)