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

Fix the implementation of PartialEq for maps #569

Merged
merged 2 commits into from
Aug 31, 2024
Merged

Fix the implementation of PartialEq for maps #569

merged 2 commits into from
Aug 31, 2024

Conversation

mitsuhiko
Copy link
Owner

This fixes the implementation of PartialEq for Values containing maps and it slightly improves Ord. Ord is not really fixed as the order of keys just does stupid stuff to the ordering. I'm going to accept this for now because you're most likely not going to sort maps all that often.

Fixes #568

@mitsuhiko mitsuhiko merged commit 4474eef into main Aug 31, 2024
30 checks passed
@mitsuhiko mitsuhiko deleted the fix-map-eq branch August 31, 2024 20:44
@evroon
Copy link

evroon commented Sep 6, 2024

Thanks!

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.

Value::PartialEq not comparing iterators correctly
2 participants