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

comments: fix sorting #11

Merged
merged 2 commits into from
Sep 20, 2024
Merged

comments: fix sorting #11

merged 2 commits into from
Sep 20, 2024

Conversation

threadiverse
Copy link
Owner

Fixes the comment sorting algorithm for Rust 1.81.

The previous algorithm was buggy, and panics under changes to the way inconsistencies in the PartialOrd and Ord traits are handled in Rust 1.81.

See: rust-lang/rust#129561

@threadiverse threadiverse merged commit 0e00d95 into main Sep 20, 2024
@threadiverse threadiverse deleted the comments/fix-sorting branch September 20, 2024 05:16
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.

1 participant