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

replace into_receipt by into #735

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

tcoratger
Copy link
Contributor

Description

This pull request replaces the method into_receipt with the more idiomatic and concise into in the ReceiptWithBloom<T> struct.

Changes Made

  • Replaced the method into_receipt with into in the ReceiptWithBloom<T> struct.

Motivation and Context

The method into is a common convention in Rust for consuming a value and converting it into another type. By using into, the code becomes more idiomatic and aligns with Rust's conventions. This change also improves readability and reduces verbosity.

@mattsse mattsse merged commit 2e15e2f into alloy-rs:main May 13, 2024
24 checks passed
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
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.

3 participants