Skip to content

Conversation

@creeper6530
Copy link

In my own project I'm making an enum that contains various error types, and one of those is a display error from the ssd1306 crate, but when I tried deriving PartialEq and Eq on my enum, I found myself unable to because it contained your enum DisplayError as a parameter, and that doesn't implement it.

So, I'm doing this to help myself, really.

Feel free to bump up the release number before merge, but I would love if this got merged soon so that I can nag ssd1306's maintainer to update next.

creeper6530 added a commit to creeper6530/maturitni-projekt that referenced this pull request Nov 24, 2025
TODO: Watch therealprof/display-interface#55 and include the DisplayError in the variant once it starts to implement Eq and PartialEq
@creeper6530
Copy link
Author

Just thought that implementing Copy might someday help someone else as well.

Copy link
Collaborator

@almindor almindor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I'll let @therealprof merge

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