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

Commit 5d1c9ec

Browse files
committed
remove extra lifetime parameters from App
1 parent 529229b commit 5d1c9ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

token/cli/src/clap_app.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ pub trait MintArgs {
286286
fn mint_args(self) -> Self;
287287
}
288288

289-
impl MintArgs for App<'_, '_> {
289+
impl MintArgs for App<'_> {
290290
fn mint_args(self) -> Self {
291291
self.arg(mint_address_arg().requires(MINT_DECIMALS_ARG.name))
292292
.arg(mint_decimals_arg().requires(MINT_ADDRESS_ARG.name))
@@ -419,7 +419,7 @@ pub(crate) trait BenchSubCommand {
419419
fn bench_subcommand(self) -> Self;
420420
}
421421

422-
impl BenchSubCommand for App<'_, '_> {
422+
impl BenchSubCommand for App<'_> {
423423
fn bench_subcommand(self) -> Self {
424424
self.subcommand(
425425
SubCommand::with_name("bench")
@@ -560,7 +560,7 @@ pub fn app<'a, 'b>(
560560
default_decimals: &'a str,
561561
minimum_signers_help: &'b str,
562562
multisig_member_help: &'b str,
563-
) -> App<'a, 'b> {
563+
) -> App<'a> {
564564
App::new(crate_name!())
565565
.about(crate_description!())
566566
.version(crate_version!())

0 commit comments

Comments
 (0)