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

Commit 3ab988a

Browse files
committed
update for new possible_values syntax
1 parent ac5d43b commit 3ab988a

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

0 commit comments

Comments
 (0)