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

Replace MockDisplay::eq by PartialEq impl #603

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

rfuest
Copy link
Member

@rfuest rfuest commented Jun 5, 2021

When we introduced EG_FANCY_PANIC I had decided to remove the PartialEq impl for MockDisplay to make sure the new assertions are used. I think this was useful for the transition, but it might not be the best permanent solution. This PR reverts this change, which simplifies the migration guide and makes clippy a little happier.

@rfuest rfuest requested a review from jamwaffles June 5, 2021 17:26
Copy link
Member

@jamwaffles jamwaffles left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@rfuest rfuest merged commit 1fd9525 into embedded-graphics:master Jun 5, 2021
@rfuest rfuest deleted the mockdispay_eq branch June 5, 2021 17:32
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.

None yet

2 participants