Tiny improvement: lifetime parameters (#1354)
## Issue Addressed This PR improves lifetime parameters that can be elided. :octocat:
This commit is contained in:
parent
c80860c17e
commit
4b213032b2
@ -52,9 +52,9 @@ impl<E: EthSpec> ProductionBeaconNode<E> {
|
|||||||
/// Identical to `start_from_client_config`, however the `client_config` is generated from the
|
/// 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
|
/// given `matches` and potentially configuration files on the local filesystem or other
|
||||||
/// configurations hosted remotely.
|
/// configurations hosted remotely.
|
||||||
pub async fn new_from_cli<'a, 'b>(
|
pub async fn new_from_cli(
|
||||||
context: RuntimeContext<E>,
|
context: RuntimeContext<E>,
|
||||||
matches: &ArgMatches<'b>,
|
matches: &ArgMatches<'_>,
|
||||||
) -> Result<Self, String> {
|
) -> Result<Self, String> {
|
||||||
let client_config = get_config::<E>(
|
let client_config = get_config::<E>(
|
||||||
&matches,
|
&matches,
|
||||||
|
Loading…
Reference in New Issue
Block a user