Skip to content

Conversation

@Philippe-Cholet
Copy link
Member

Closes #438.

I'm not sure to see the point of being able to clone Diff ; but it should at least implement Debug.

They can't be derived because of missing constraints on ::Item.
And we don't have macros to implement Debug and Clone for enums in a shorter way so it's manual.

We can not derive Debug. I checked, an usual debugged enum does not display the name of the type but only the variant name.
Implementation can not be derived either.
@Philippe-Cholet Philippe-Cholet added this to the next milestone Jan 13, 2024
@Philippe-Cholet Philippe-Cholet added this pull request to the merge queue Jan 16, 2024
Merged via the queue into rust-itertools:master with commit eeda182 Jan 16, 2024
@Philippe-Cholet Philippe-Cholet deleted the diff-debug-clone branch January 16, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants