File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ impl<T> [T] {
218
218
/// * total and antisymmetric: exactly one of a < b, a == b or a > b is true; and
219
219
/// * transitive, a < b and b < c implies a < c. The same must hold for both == and >.
220
220
///
221
- /// For example, while `f64` doesn't implement `Ord` because `NaN != NaN`, we can use
221
+ /// For example, while [ `f64`] doesn't implement [ `Ord`] because `NaN != NaN`, we can use
222
222
/// `partial_cmp` as our sort function when we know the slice doesn't contain a `NaN`.
223
223
///
224
224
/// ```
Original file line number Diff line number Diff line change @@ -1346,7 +1346,7 @@ impl<T> [T] {
1346
1346
/// * total and antisymmetric: exactly one of a < b, a == b or a > b is true; and
1347
1347
/// * transitive, a < b and b < c implies a < c. The same must hold for both == and >.
1348
1348
///
1349
- /// For example, while `f64` doesn't implement `Ord` because `NaN != NaN`, we can use
1349
+ /// For example, while [ `f64`] doesn't implement [ `Ord`] because `NaN != NaN`, we can use
1350
1350
/// `partial_cmp` as our sort function when we know the slice doesn't contain a `NaN`.
1351
1351
///
1352
1352
/// ```
You can’t perform that action at this time.
0 commit comments