News for hackers. Stuff that matters.
Re:My least favorite Rust type by devit on Monday September 21, 2020 @07:46PM (#24549582)
Obviously you need a PartialOrd (and Ord, PartialEq and Eq) implementation for all fundamental data structures, since otherwise they are unusable (can't sort to canonicalize ordering, sort+uniq, use as btree keys, etc.).

Lexicographic order is the most common choice for vector; the other reasonable choice is length-then-lexicographic.

Re:My least favorite Rust type by saagarjha on Monday September 21, 2020 @07:48PM (#24549590)
The alternative I'm suggesting is that it is not implemented at all.