Closed
Description
(Partial)Eq
and (Partial)Ord
traits are now generic for right-hand side expression, but derive-generated code has not caught up. That is, Option<T>
is only comparable to other Option<T>
instances, rather than any Option<U> where T: Eq<U>
.
I'm currently working on implementing this myself; however, as I am not familiar with the code, I'm still working out the cleanest way to get it done. I suppose I'm wondering whether anyone has any advice or if anyone is already working on this or some other changes to derive
that might include this.