|
9 | 9 | //! * [`Ord`] and [`PartialOrd`] are traits that allow you to define total and
|
10 | 10 | //! partial orderings between values, respectively. Implementing them overloads
|
11 | 11 | //! the `<`, `<=`, `>`, and `>=` operators.
|
12 |
| -//! * [`Ordering`][cmp::Ordering] is an enum returned by the |
13 |
| -//! main functions of [`Ord`] and [`PartialOrd`], and describes an ordering. |
14 |
| -//! * [`Reverse`][cmp::Reverse] is a struct that allows you to easily reverse |
15 |
| -//! an ordering. |
16 |
| -//! * [`max`][cmp::max] and [`min`][cmp::min] are functions that build off of |
17 |
| -//! [`Ord`] and allow you to find the maximum or minimum of two values. |
| 12 | +//! * [`Ordering`] is an enum returned by the main functions of [`Ord`] and |
| 13 | +//! [`PartialOrd`], and describes an ordering. |
| 14 | +//! * [`Reverse`] is a struct that allows you to easily reverse an ordering. |
| 15 | +//! * [`max`] and [`min`] are functions that build off of [`Ord`] and allow you |
| 16 | +//! to find the maximum or minimum of two values. |
18 | 17 | //!
|
19 | 18 | //! For more details, see the respective documentation of each item in the list.
|
| 19 | +//! |
| 20 | +//! [`Eq`]: trait.Eq.html |
| 21 | +//! [`PartialEq`]: trait.PartialEq.html |
| 22 | +//! [`Ord`]: trait.Ord.html |
| 23 | +//! [`PartialOrd`]: trait.PartialOrd.html |
| 24 | +//! [`Ordering`]: enum.Ordering.html |
| 25 | +//! [`Reverse`]: struct.Reverse.html |
| 26 | +//! [`max`]: fn.max.html |
| 27 | +//! [`min`]: fn.min.html |
20 | 28 |
|
21 | 29 | #![stable(feature = "rust1", since = "1.0.0")]
|
22 | 30 |
|
|
0 commit comments