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
PartialCmp now compares NaN with the other values and returns it as the smallest possible value. Thus, NaN < -Inf.
Fixed
partial_cmp now behaves exactly the same as cmp (PartialOrd is now consistent with Ord).
This fixes an issue introduced in 0.12.2 with the implementation of Ord,
where Ord would behave differently from PartialOrd with NaN values.
Special thanks to Hsingai Tigris Altaica aka DrAlta for fixing this.