SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 68 Rust

correct suggestion for `unnecessary_sort_by` in `no_std` (#13836)

fix #11524

In a `no_std` environment, we can use `core::cmp::Reverse` instead of
`std::cmp::Reverse`.

----

changelog: [`unnecessary_sort_by`]: correct suggestion in `no_std`
L
llogiq committed
063c5c17433ff058d7c899d2933f2c7d1162b3da
Committed by GitHub <noreply@github.com> on 12/16/2024, 3:48:56 PM