about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2021-10-02 15:16:33 -0700
committerJubilee Young <workingjubilee@gmail.com>2021-10-03 14:35:07 -0700
commita16b481a08a3d7560f9c92370f18f6ee8c006c9e (patch)
tree94b150e49f283f98acd6d2a72102613999c313c5
parent9be26656d2647e06da4a1a1c5615f93322607a5d (diff)
Simplify language for scatter/gather
Co-authored-by: Caleb Zulawski <caleb.zulawski@gmail.com>
-rw-r--r--crates/core_simd/src/vector.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs
index a043ef2074e..893eff674ff 100644
--- a/crates/core_simd/src/vector.rs
+++ b/crates/core_simd/src/vector.rs
@@ -58,7 +58,7 @@ where
     }
 
     /// Reads from potentially discontiguous indices in `slice` to construct a SIMD vector.
-    /// Lanes given an out-of-bounds index instead select values from the `or` vector.
+    /// If an index is out-of-bounds, the lane is instead selected from the `or` vector.
     ///
     /// # Examples
     /// ```
@@ -79,7 +79,7 @@ where
     }
 
     /// Reads from potentially discontiguous indices in `slice` to construct a SIMD vector.
-    /// Lanes given an out-of-bounds index instead are set the default value for the type.
+    /// If an index is out-of-bounds, the lane is set to the default value for the type.
     ///
     /// # Examples
     /// ```