Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(reth-provider): use Vec::with_capacity #10912

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

nkysg
Copy link
Contributor

@nkysg nkysg commented Sep 15, 2024

No description provided.

@nkysg nkysg force-pushed the reth_provider_vec branch 2 times, most recently from 609b936 to 9793972 Compare September 15, 2024 02:59
for ((main_block_number, header), (_, header_hash), (_, tx)) in
izip!(block_header_iter.into_iter(), block_header_hashes_iter, block_tx_iter)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L694 has used into_iter(), so remove in this place

for ((main_block_number, header), (_, header_hash), (_, tx)) in
izip!(block_header_iter.into_iter(), block_header_hashes_iter, block_tx_iter)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@mattsse mattsse added this pull request to the merge queue Sep 17, 2024
Merged via the queue into paradigmxyz:main with commit acdb205 Sep 17, 2024
35 checks passed
@nkysg nkysg deleted the reth_provider_vec branch September 17, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants