Skip to content

Fix clippy on Rust 1.98 - #17

Merged
hypnagonia merged 1 commit into
mainfrom
clippy-fix
Sep 30, 2026
Merged

hypnagonia merged 1 commit into
mainfrom
clippy-fix

Conversation

@hypnagonia

Copy link
Copy Markdown
Owner

Follow-up to #16. This commit was pushed after #16 was merged, so main fails the clippy job on current stable Rust.

  • sort_by_key instead of sort_by on the index
  • total_cmp instead of partial_cmp().unwrap(), which panicked on NaN

@hypnagonia
hypnagonia merged commit e106c8d into main Sep 30, 2026
12 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.

1 participant