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

Derive PartialEq, Eq, PartialOrd, Ord, Hash #68

Merged
merged 2 commits into from
May 30, 2024

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Feb 23, 2024

The derived implementations work now that the interior value is always fully masked (#65).

As a side effect, this makes consts eligible for pattern matching.

Close: #66

@bbaldino
Copy link
Collaborator

lgtm, just a formatting problem looks like

@bbaldino
Copy link
Collaborator

@chrysn you going to update this? Looks like it's just a style issue causing the failure

@chrysn chrysn force-pushed the derive-partialeq-etc branch 2 times, most recently from d10024d to 829c48a Compare April 11, 2024 07:14
@chrysn
Copy link
Member Author

chrysn commented Apr 11, 2024

Thanks for the nudge, fixed.

The branch is not "up to date before merging" as GitHub configs call it, but I don't think that's a necessary step if we enable merge queues. Mind if we enable that? Then we get both the branch-is-checked-to-work-with-latest-master property and the branch-starts-from-where-the-author-started-it property.

@bbaldino
Copy link
Collaborator

I haven't played with the merge queue stuff, but I'm fine with giving it a go.

@AnthonyMichaelTDM
Copy link

why not just update this branch?

@bbaldino
Copy link
Collaborator

@chrysn I found myself needing to match on uX types today...can we get this in? Could just rebase on top of master

@bbaldino
Copy link
Collaborator

@chrysn bump

@chrysn chrysn added this pull request to the merge queue May 30, 2024
@chrysn chrysn removed this pull request from the merge queue due to a manual request May 30, 2024
@chrysn chrysn added this pull request to the merge queue May 30, 2024
@chrysn
Copy link
Member Author

chrysn commented May 30, 2024

I've enabled the merge queue feature, which should give us a semantically correct merge history -- but for some reason the individual checks don't get kicked off. Therefore, disabling mere queues again, rebasing this branch. Not happy with this situation, but not investing too much time in understanding GitHub either.

@chrysn chrysn removed this pull request from the merge queue due to the queue being cleared May 30, 2024
The derived implementations work now that the interior value is always
fully masked[1].

As a side effect, this makes consts eligible for pattern matching.

[1]: rust-ux#65

Closes: rust-ux#66
@chrysn chrysn enabled auto-merge May 30, 2024 10:56
@chrysn chrysn merged commit 9df9b3a into rust-ux:master May 30, 2024
3 checks passed
@chrysn chrysn deleted the derive-partialeq-etc branch May 30, 2024 10:58
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.

Cannot pattern match
3 participants