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

ast: make some simple data types Copy #50

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

yannick-was-taken
Copy link
Contributor

This changes some of the simpler enum's and struct's derives in the ast to include Copy when implementing it is possible. This is a convenience when using the library, as you can just use e.g. BinaryOperator like you would a plain value, instead of having to use binop.clone().

This changes some of the simpler enum's and struct's derives in the ast
to include `Copy` when implementing it is possible. This is a
convenience when using the library, as you can just use e.g.
`BinaryOperator` like you would a plain value, instead of having to use
`binop.clone()`.
@vickenty vickenty merged commit 1ad5db9 into vickenty:master Jul 4, 2024
3 checks passed
@vickenty
Copy link
Owner

vickenty commented Jul 4, 2024

Nice, thanks!

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