Closed VitalyAnkh closed 2 months ago
these two statements:
a < b
implies !(a > b)
a < b
if and only if b > a
seem logically equivalent to me. the first one implies the second, and the second implies the first.
the reason why i'd like to keep the use of the word "asymmetry" in the PartialOrd section is because prior to reaching that section "symmetry" is covered in the PartialEq section. Also, "asymmetry" is covered again later on in the Ord section. I like that these sections use similar language/concepts, helps them reinforce each other.
for that reason i'll keep the description as-is and close this ticket, but people are welcome to re-open this ticket if they feel strongly otherwise.
In the blog post tour of rust standard library traits, I feel the paragraph of
asymmetry
requirements inpartial_cmp
is not right:In the document for PartialOrd, there is no part about
asymmetry
. The requirements forpartial_cmp
is:Maybe the document is updated and we should catch up?