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

Commit ad1fa87

Browse files
committed
remove extra lifetime parameters from App
1 parent 515ddc4 commit ad1fa87

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
@@ -274,7 +274,7 @@ pub trait MintArgs {
274274
fn mint_args(self) -> Self;
275275
}
276276

277-
impl MintArgs for App<'_, '_> {
277+
impl MintArgs for App<'_> {
278278
fn mint_args(self) -> Self {
279279
self.arg(mint_address_arg().requires(MINT_DECIMALS_ARG.name))
280280
.arg(mint_decimals_arg().requires(MINT_ADDRESS_ARG.name))
@@ -406,7 +406,7 @@ pub(crate) trait BenchSubCommand {
406406
fn bench_subcommand(self) -> Self;
407407
}
408408

409-
impl BenchSubCommand for App<'_, '_> {
409+
impl BenchSubCommand for App<'_> {
410410
fn bench_subcommand(self) -> Self {
411411
self.subcommand(
412412
SubCommand::with_name("bench")
@@ -547,7 +547,7 @@ pub fn app<'a, 'b>(
547547
default_decimals: &'a str,
548548
minimum_signers_help: &'b str,
549549
multisig_member_help: &'b str,
550-
) -> App<'a, 'b> {
550+
) -> App<'a> {
551551
App::new(crate_name!())
552552
.about(crate_description!())
553553
.version(crate_version!())

0 commit comments

Comments
 (0)