We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in my particular project, i need both increasing sort and decreasing sort.
could you please detail how i could specialize the order to reverse the default increasing sort?
or should i clone your library to duplicate the methods & structure of OrderedFloat.
The text was updated successfully, but these errors were encountered:
@gjaegle
let arr = vec![1.0, 2.0, 3.0].into_iter().map(|x| NotNan::new(x).unwrap()); arr.sort_by_key(|x| std::cmp::Reverse(x));
Sorry, something went wrong.
No branches or pull requests
in my particular project, i need both increasing sort and decreasing sort.
could you please detail how i could specialize the order to reverse the default increasing sort?
or should i clone your library to duplicate the methods & structure of OrderedFloat.
The text was updated successfully, but these errors were encountered: