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

Simplify the eq method. #21

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Simplify the eq method. #21

merged 1 commit into from
Feb 16, 2024

Conversation

ltratt
Copy link
Member

@ltratt ltratt commented Feb 16, 2024

I had to stare and prod at this for ages to work out why/how the if let part of this worked. Ironically it was masking a much simpler version that is more obviously safe and that is also much easier to understand. Oops!

I had to stare and prod at this for ages to work out why/how the `if
let` part of this worked. Ironically it was masking a much simpler
version that is more obviously safe and that is also much easier to
understand. Oops!
@vext01 vext01 added this pull request to the merge queue Feb 16, 2024
Merged via the queue into softdevteam:master with commit 6ddde54 Feb 16, 2024
2 checks passed
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