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

Commit 71cbb29

Browse files
committed
remove extra lifetime parameters from App
1 parent 728bb7d commit 71cbb29

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))
@@ -418,7 +418,7 @@ pub(crate) trait BenchSubCommand {
418418
fn bench_subcommand(self) -> Self;
419419
}
420420

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

0 commit comments

Comments
 (0)