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

Use derive macro for impl Clone #50

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

LighghtEeloo
Copy link
Contributor

@LighghtEeloo LighghtEeloo commented May 19, 2023

A simple, minimal PR that uses the derive macro to implement the Clone trait, just as told in the comments of the code.

Ran through test (with serde feature on and off), fmt and clippy.

I'm uncertain about why it wasn't done earlier; I didn't ask in an issue because it's a small PR to review and comment on (not sure whether it's the right thing to do... I'm sorry if it's not).

@pczarn
Copy link
Contributor

pczarn commented Nov 29, 2024

Thanks; the reason is included in the old issue rust-lang/rust#19839

@pczarn pczarn merged commit 11a0bd2 into contain-rs:master Nov 29, 2024
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