mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Rust 1.84 lints (#6781)
* Fix few lints * Fix remaining lints * Use fully qualified syntax
This commit is contained in:
@@ -286,7 +286,7 @@ struct ValidatorsAndDeposits {
|
||||
}
|
||||
|
||||
impl ValidatorsAndDeposits {
|
||||
async fn new<'a, E: EthSpec>(config: CreateConfig, spec: &ChainSpec) -> Result<Self, String> {
|
||||
async fn new<E: EthSpec>(config: CreateConfig, spec: &ChainSpec) -> Result<Self, String> {
|
||||
let CreateConfig {
|
||||
// The output path is handled upstream.
|
||||
output_path: _,
|
||||
@@ -545,7 +545,7 @@ pub async fn cli_run<E: EthSpec>(
|
||||
}
|
||||
}
|
||||
|
||||
async fn run<'a, E: EthSpec>(config: CreateConfig, spec: &ChainSpec) -> Result<(), String> {
|
||||
async fn run<E: EthSpec>(config: CreateConfig, spec: &ChainSpec) -> Result<(), String> {
|
||||
let output_path = config.output_path.clone();
|
||||
|
||||
if !output_path.exists() {
|
||||
|
||||
Reference in New Issue
Block a user