File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ impl<T> [T] {
218218 /// * total and antisymmetric: exactly one of a < b, a == b or a > b is true; and
219219 /// * transitive, a < b and b < c implies a < c. The same must hold for both == and >.
220220 ///
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
222222 /// `partial_cmp` as our sort function when we know the slice doesn't contain a `NaN`.
223223 ///
224224 /// ```
Original file line number Diff line number Diff line change @@ -1346,7 +1346,7 @@ impl<T> [T] {
13461346 /// * total and antisymmetric: exactly one of a < b, a == b or a > b is true; and
13471347 /// * transitive, a < b and b < c implies a < c. The same must hold for both == and >.
13481348 ///
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
13501350 /// `partial_cmp` as our sort function when we know the slice doesn't contain a `NaN`.
13511351 ///
13521352 /// ```
You can’t perform that action at this time.
0 commit comments