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

Commit 39905c2

Browse files
committed
update for new possible_values syntax
1 parent d0648fb commit 39905c2

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
@@ -1252,7 +1252,7 @@ pub fn app<'a, 'b>(
12521252
Arg::with_name("authority_type")
12531253
.value_name("AUTHORITY_TYPE")
12541254
.takes_value(true)
1255-
.possible_values(&CliAuthorityType::iter().map(Into::into).collect::<Vec<_>>())
1255+
.possible_values(&CliAuthorityType::iter().map(Into::<&str>::into).collect::<Vec<_>>())
12561256
.index(2)
12571257
.required(true)
12581258
.help("The new authority type. \

0 commit comments

Comments
 (0)