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: clippy is not happy with 'Clone' implementation #23

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

woshilapin
Copy link
Contributor

@woshilapin woshilapin commented Sep 11, 2023

Not sure it's ideal, it's basically a problem with how derivative implements Clone in presence of a Copy implementation too. An alternative solution would be the following patch.

image

I can go either way.

Note that the bug has been reported to derivative (see mcarton/rust-derivative#112) and a simple fix for them would be to add the #[automatically_derivated] to the implementations.

@woshilapin woshilapin merged commit 0db5493 into master Sep 11, 2023
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