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 sort warning #536

Merged
merged 1 commit into from Nov 4, 2020
Merged

fix sort warning #536

merged 1 commit into from Nov 4, 2020

Conversation

LnL7
Copy link
Member

@LnL7 LnL7 commented Nov 4, 2020

The shell.nix uses nixpkgs-mozilla which can change and thus break
stuff.

The shell.nix uses nixpkgs-mozilla which can change and thus break
stuff.
Copy link
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual error:

error: Use sort_unstable instead of sort
   --> ofborg/src/nixstats.rs:314:9
    |
314 |         keys.sort();
    |         ^^^^^^^^^^^ help: try: `keys.sort_unstable()`
    |
    = note: `-D clippy::stable-sort-primitive` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#stable_sort_primitive

@LnL7 LnL7 merged commit 524cd74 into NixOS:released Nov 4, 2020
@LnL7 LnL7 deleted the no-warning branch November 4, 2020 21:44
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.

None yet

2 participants