mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Rust 1.89 compiler lint fix (#7644)
Fix lints for Rust 1.89 beta compiler
This commit is contained in:
@@ -1125,7 +1125,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
|
||||
start_slot: Slot,
|
||||
end_slot: Slot,
|
||||
get_state: impl FnOnce() -> Result<(BeaconState<E>, Hash256), Error>,
|
||||
) -> Result<HybridForwardsBlockRootsIterator<E, Hot, Cold>, Error> {
|
||||
) -> Result<HybridForwardsBlockRootsIterator<'_, E, Hot, Cold>, Error> {
|
||||
HybridForwardsBlockRootsIterator::new(
|
||||
self,
|
||||
DBColumn::BeaconBlockRoots,
|
||||
@@ -1155,7 +1155,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
|
||||
start_slot: Slot,
|
||||
end_slot: Slot,
|
||||
get_state: impl FnOnce() -> Result<(BeaconState<E>, Hash256), Error>,
|
||||
) -> Result<HybridForwardsStateRootsIterator<E, Hot, Cold>, Error> {
|
||||
) -> Result<HybridForwardsStateRootsIterator<'_, E, Hot, Cold>, Error> {
|
||||
HybridForwardsStateRootsIterator::new(
|
||||
self,
|
||||
DBColumn::BeaconStateRoots,
|
||||
|
||||
Reference in New Issue
Block a user