Rust 1.84 lints (#6781)

* Fix few lints

* Fix remaining lints

* Use fully qualified syntax
This commit is contained in:
Pawan Dhananjay
2025-01-10 06:43:29 +05:30
committed by GitHub
parent 87b72dec21
commit 1f6850fae2
61 changed files with 110 additions and 138 deletions

View File

@@ -1022,7 +1022,7 @@ impl<E: EthSpec> BeaconProcessor<E> {
let can_spawn = self.current_workers < self.config.max_workers;
let drop_during_sync = work_event
.as_ref()
.map_or(false, |event| event.drop_during_sync);
.is_some_and(|event| event.drop_during_sync);
let idle_tx = idle_tx.clone();
let modified_queue_id = match work_event {