mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 02:42:38 +00:00
Appease clippy in Rust 1.70 (#4365)
## Issue Addressed NA ## Proposed Changes Fixes some new clippy lints raised after updating to Rust 1.70. ## Additional Info NA
This commit is contained in:
@@ -146,7 +146,7 @@ impl<T: EthSpec> ProductionValidatorClient<T> {
|
||||
context
|
||||
.clone()
|
||||
.executor
|
||||
.spawn_without_exit(async move { server.await }, "metrics-api");
|
||||
.spawn_without_exit(server, "metrics-api");
|
||||
|
||||
Some(ctx)
|
||||
} else {
|
||||
@@ -590,7 +590,7 @@ impl<T: EthSpec> ProductionValidatorClient<T> {
|
||||
self.context
|
||||
.clone()
|
||||
.executor
|
||||
.spawn_without_exit(async move { server.await }, "http-api");
|
||||
.spawn_without_exit(server, "http-api");
|
||||
|
||||
Some(listen_addr)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user