about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPetteri Räty <github@petteriraty.eu>2024-06-24 11:12:10 +0300
committerPetteri Räty <petteri.raty@experq.com>2024-06-24 11:23:01 +0300
commitdbf701838758bd70d51fa36dcb79e7d02e0e4352 (patch)
treeede01c573a8f77203963fc8086230cee1b5541cc
parent2c243d957008f5909f7a4af19e486ea8a3814be7 (diff)
downloadrust-dbf701838758bd70d51fa36dcb79e7d02e0e4352.tar.gz
rust-dbf701838758bd70d51fa36dcb79e7d02e0e4352.zip
Fix simd_gather documentation
There is no idx in the function signature.
-rw-r--r--library/core/src/intrinsics/simd.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/core/src/intrinsics/simd.rs b/library/core/src/intrinsics/simd.rs
index 4be5e62ea5b..b892e111588 100644
--- a/library/core/src/intrinsics/simd.rs
+++ b/library/core/src/intrinsics/simd.rs
@@ -263,9 +263,6 @@ extern "rust-intrinsic" {
     ///
     /// `V` must be a vector of integers with the same length as `T` (but any element size).
     ///
-    /// `idx` must be a constant: either naming a constant item, or an inline
-    /// `const {}` expression.
-    ///
     /// For each pointer in `ptr`, if the corresponding value in `mask` is `!0`, read the pointer.
     /// Otherwise if the corresponding value in `mask` is `0`, return the corresponding value from
     /// `val`.