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
Hi there, I was just browsing the std::cmp documentation and came across some funny looking text:
[Eq] and [PartialEq] are traits that allow you to define total and partial equality between values, respectively. Implementing them overloads the == and != operators.
[Ord] and [PartialOrd] are traits that allow you to define total and partial orderings between values, respectively. Implementing them overloads the <, <=, >, and >= operators.
[Ordering][cmp::Ordering] is an enum returned by the main functions of [Ord] and [PartialOrd], and describes an ordering.
[Reverse][cmp::Reverse] is a struct that allows you to easily reverse an ordering.
[max][cmp::max] and [min][cmp::min] are functions that build off of [Ord] and allow you to find the maximum or minimum of two values.
It seems that there are just a few links that are broken, so I thought I'd just make an issue. I would submit a PR with the fix, but I'm not sure how to do these kinds links.
The text was updated successfully, but these errors were encountered:
Centril
added
C-bug
Category: This is a bug.
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
labels
May 7, 2019
Hi there, I was just browsing the
std::cmp
documentation and came across some funny looking text:It seems that there are just a few links that are broken, so I thought I'd just make an issue. I would submit a PR with the fix, but I'm not sure how to do these kinds links.
The text was updated successfully, but these errors were encountered: