Skip to content

Commit 979a495

Browse files
Merge pull request #413 from KonradHoeffner/patch-1
document PartialOrd difference to simd_min and simd_max
2 parents 48d411b + ef5f073 commit 979a495

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/core_simd/src/vector.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,7 @@ where
925925
}
926926
}
927927

928+
/// Lexicographic order. For the SIMD elementwise minimum and maximum, use simd_min and simd_max instead.
928929
impl<T, const N: usize> PartialOrd for Simd<T, N>
929930
where
930931
LaneCount<N>: SupportedLaneCount,
@@ -944,6 +945,7 @@ where
944945
{
945946
}
946947

948+
/// Lexicographic order. For the SIMD elementwise minimum and maximum, use simd_min and simd_max instead.
947949
impl<T, const N: usize> Ord for Simd<T, N>
948950
where
949951
LaneCount<N>: SupportedLaneCount,

0 commit comments

Comments
 (0)