Skip to content

Commit a16b481

Browse files
Simplify language for scatter/gather
Co-authored-by: Caleb Zulawski <caleb.zulawski@gmail.com>
1 parent 9be2665 commit a16b481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core_simd/src/vector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ where
5858
}
5959

6060
/// Reads from potentially discontiguous indices in `slice` to construct a SIMD vector.
61-
/// Lanes given an out-of-bounds index instead select values from the `or` vector.
61+
/// If an index is out-of-bounds, the lane is instead selected from the `or` vector.
6262
///
6363
/// # Examples
6464
/// ```
@@ -79,7 +79,7 @@ where
7979
}
8080

8181
/// Reads from potentially discontiguous indices in `slice` to construct a SIMD vector.
82-
/// Lanes given an out-of-bounds index instead are set the default value for the type.
82+
/// If an index is out-of-bounds, the lane is set to the default value for the type.
8383
///
8484
/// # Examples
8585
/// ```

0 commit comments

Comments
 (0)