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

Commit 9459c5c

Browse files
committed
update for new possible_values syntax
1 parent 279a82d commit 9459c5c

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
@@ -1209,7 +1209,7 @@ pub fn app<'a, 'b>(
12091209
Arg::with_name("authority_type")
12101210
.value_name("AUTHORITY_TYPE")
12111211
.takes_value(true)
1212-
.possible_values(&CliAuthorityType::iter().map(Into::into).collect::<Vec<_>>())
1212+
.possible_values(&CliAuthorityType::iter().map(Into::<&str>::into).collect::<Vec<_>>())
12131213
.index(2)
12141214
.required(true)
12151215
.help("The new authority type. \

0 commit comments

Comments
 (0)