Is there a reason that rust doesn't have a try_sort variant for sort that uses a fallible comparison function for sorting shit like floats?
-
Show this thread
-
This Tweet is unavailable.
-
I'd assume you'd just look at a.partial_cmp(&b).is_none()
1 reply 0 retweets 2 likes
Replying to @sgrif @smolcomputergf and
I guess you can't do that as a pass before sorting though without factorial time problems
10:07 AM - 12 Apr 2020
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.