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

RaycastSource should use a manual Clone impl rather than a derive #249

Closed
alice-i-cecile opened this issue Aug 31, 2023 · 2 comments
Closed

Comments

@alice-i-cecile
Copy link

alice-i-cecile commented Aug 31, 2023

Currently, all of my generic types must also impl Clone, even though they're only used as a PhantomData.

This is a well-known footgun in Rust's derive macros unfortunately.

@aevyrie
Copy link
Owner

aevyrie commented Oct 4, 2023

I think this belongs in bevy_mod_raycast?

@alice-i-cecile
Copy link
Author

Yes it does, sorry!

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

No branches or pull requests

2 participants