Closed
Description
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.
Metadata
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsCategory: An issue proposing an enhancement or a PR with one.Call for participation: Medium difficulty. Experience needed to fix: Intermediate.Medium priorityRelevant to the library API team, which will review and decide on the PR/issue.