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

fix: allow non-static lifetime in HandleRegisterBox #1608

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

Wodann
Copy link
Contributor

@Wodann Wodann commented Jul 12, 2024

When using append_handler_register_box Rust was always assigning the static lifetime to the Box, which is the default behaviour of Rust when a lifetime is not specified.

This change allows custom lifetimes for the box.

Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

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

lgtm

@rakita rakita merged commit c2e356d into bluealloy:main Jul 12, 2024
26 checks passed
j75689 pushed a commit to j75689/revm that referenced this pull request Aug 1, 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