Skip to content

Commit

Permalink
rm unnecessary type annotation
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
  • Loading branch information
Rjected and mattsse committed Sep 30, 2024
1 parent 32b3697 commit d9e663e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/chain-state/src/in_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,7 @@ impl CanonicalInMemoryState {
state: &BlockState,
historical: StateProviderBox,
) -> MemoryOverlayStateProvider {
let in_memory: Vec<_> =
state.chain().into_iter().map(|block_state| block_state.block()).collect();
let in_memory = state.chain().into_iter().map(|block_state| block_state.block()).collect();

MemoryOverlayStateProvider::new(historical, in_memory)
}
Expand Down

0 comments on commit d9e663e

Please sign in to comment.