You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tells me to implement functions partial_ord, and (possibly) lt, le, gt, ge. The documentation immediately starts talking about the Rust < and > operators, without ever saying how those operators relate to the functions in the trait. There also aren't any requirements put on le and ge (I'm not sure of the most compact and efficient way of listing the requirements on these operators. Is just saying "a <= b is true if and only if a<b or a==b is true" sufficient?).
The text was updated successfully, but these errors were encountered:
The documentation for PartialOrd: https://doc.rust-lang.org/core/cmp/trait.PartialOrd.html
Tells me to implement functions
partial_ord
, and (possibly)lt
,le
,gt
,ge
. The documentation immediately starts talking about the Rust<
and>
operators, without ever saying how those operators relate to the functions in the trait. There also aren't any requirements put onle
andge
(I'm not sure of the most compact and efficient way of listing the requirements on these operators. Is just saying "a <= b
is true if and only ifa<b
ora==b
is true" sufficient?).The text was updated successfully, but these errors were encountered: