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

Derive copy for SBPFVersion #608

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Derive copy for SBPFVersion #608

merged 1 commit into from
Oct 9, 2024

Conversation

LucasSte
Copy link

@LucasSte LucasSte commented Oct 9, 2024

enum SBPF is represented by an integer, so we can derive Copy for it and avoid unnecessary clones.

@LucasSte LucasSte requested a review from Lichtso October 9, 2024 18:20
@LucasSte LucasSte marked this pull request as ready for review October 9, 2024 18:20
@LucasSte LucasSte merged commit 7732088 into solana-labs:main Oct 9, 2024
12 checks passed
@LucasSte LucasSte deleted the copy-t branch October 9, 2024 19: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