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 @@ -192,7 +192,7 @@ impl<T> [T] {
192192 /// Sorting types that only implement [`PartialOrd`] such as [`f32`] and [`f64`] require
193193 /// additional precautions. For example, `f32::NAN != f32::NAN`, which doesn't fulfill the
194194 /// reflexivity requirement of [`Ord`]. By using an alternative comparison function with
195- /// [ `slice::sort_by`] such as [`f32::total_cmp`] or [`f64::total_cmp`] that defines a [total
195+ /// `slice::sort_by` such as [`f32::total_cmp`] or [`f64::total_cmp`] that defines a [total
196196 /// order] users can sort slices containing floating-point values. Alternatively, if all values
197197 /// in the slice are guaranteed to be in a subset for which [`PartialOrd::partial_cmp`] forms a
198198 /// [total order], it's possible to sort the slice with `sort_by(|a, b|
Original file line number Diff line number Diff line change @@ -2893,7 +2893,7 @@ impl<T> [T] {
28932893 /// Sorting types that only implement [`PartialOrd`] such as [`f32`] and [`f64`] require
28942894 /// additional precautions. For example, `f32::NAN != f32::NAN`, which doesn't fulfill the
28952895 /// reflexivity requirement of [`Ord`]. By using an alternative comparison function with
2896- /// [ `slice::sort_unstable_by`] such as [`f32::total_cmp`] or [`f64::total_cmp`] that defines a
2896+ /// `slice::sort_unstable_by` such as [`f32::total_cmp`] or [`f64::total_cmp`] that defines a
28972897 /// [total order] users can sort slices containing floating-point values. Alternatively, if all
28982898 /// values in the slice are guaranteed to be in a subset for which [`PartialOrd::partial_cmp`]
28992899 /// forms a [total order], it's possible to sort the slice with `sort_unstable_by(|a, b|
You can’t perform that action at this time.
0 commit comments