mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
96a4ae3ab9
add `[const] PartialEq` bound to `PartialOrd` This change is included for discussion purposes. The PartialOrd bound on PartialEq is not strictly necessary. It is, rather, logical: anything which is orderable should by definition have equality. Is the same true for constness? Should every type which is const orderable also have const equality?