From 4b213032b20aac850908cd43c312075cf108ba28 Mon Sep 17 00:00:00 2001 From: Akihito Nakano Date: Tue, 14 Jul 2020 22:26:39 +0000 Subject: [PATCH] Tiny improvement: lifetime parameters (#1354) ## Issue Addressed This PR improves lifetime parameters that can be elided. :octocat: --- beacon_node/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_node/src/lib.rs b/beacon_node/src/lib.rs index fdf8855a4a..fe8cca18af 100644 --- a/beacon_node/src/lib.rs +++ b/beacon_node/src/lib.rs @@ -52,9 +52,9 @@ impl ProductionBeaconNode { /// Identical to `start_from_client_config`, however the `client_config` is generated from the /// given `matches` and potentially configuration files on the local filesystem or other /// configurations hosted remotely. - pub async fn new_from_cli<'a, 'b>( + pub async fn new_from_cli( context: RuntimeContext, - matches: &ArgMatches<'b>, + matches: &ArgMatches<'_>, ) -> Result { let client_config = get_config::( &matches,