Skip to content

Commit f79ce11

Browse files
document PartialOrd difference to simd_min and simd_max
Avoid migration pitfall from packed_simd as described in #402.
1 parent 48d411b commit f79ce11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/core_simd/src/vector.rs

Lines changed: 1 addition & 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,

0 commit comments

Comments
 (0)