Skip to content

Commit 8c8ea2d

Browse files
Terencegnzlbg
Terence
authored andcommitted
Fix typo in max docs
The `max` methods claimed to return the minimum in one location.
1 parent aa9e0f5 commit 8c8ea2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coresimd/ppsv/api/minmax.rs

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ macro_rules! impl_int_minmax_ops {
2727

2828
/// Maximum of two vectors.
2929
///
30-
/// Returns a new vector containing the minimum value of each of
30+
/// Returns a new vector containing the maximum value of each of
3131
/// the input vector lanes.
3232
#[inline]
3333
pub fn max(self, x: Self) -> Self {
@@ -86,7 +86,7 @@ macro_rules! impl_float_minmax_ops {
8686

8787
/// Maximum of two vectors.
8888
///
89-
/// Returns a new vector containing the minimum value of each of the
89+
/// Returns a new vector containing the maximum value of each of the
9090
/// input vector lanes. The lane-wise semantics are the same as that
9191
/// of `max` for the primitive floating-point types.
9292
#[inline]

0 commit comments

Comments
 (0)