In #rust, we had a user ask if Ord for (A, B, C) checks left to right or right to left. (It's left to right.)
This should be documented in the stdlib docs somewhere.
Similarly, should be documented for other enums such as Option (Some(T) > None) and Result (uhh, didn't check) and possibly others where it could be something different.
In #rust, we had a user ask if Ord for (A, B, C) checks left to right or right to left. (It's left to right.)
This should be documented in the stdlib docs somewhere.
Similarly, should be documented for other enums such as Option (Some(T) > None) and Result (uhh, didn't check) and possibly others where it could be something different.