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

backhand: Fix clippy::incorrect_clone_impl_on_copy_type #277

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

wcampbell0x2a
Copy link
Owner

* Remove manual Clone impl for FilesystemReaderFile.
* See: https://rust-lang.github.io/rust-clippy/master/index.html#/incorrect_clone_impl_on_copy_type
  >  If both Clone and Copy are implemented, they must agree.
  > This is done by dereferencing self in Clone’s implementation.
  > Anything else is incorrect.
@wcampbell0x2a wcampbell0x2a merged commit 4ec76d9 into master Jul 19, 2023
25 checks passed
@wcampbell0x2a wcampbell0x2a deleted the fix-incorrect-manual-clone branch July 19, 2023 04:18
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.

1 participant