Rollup merge of #126895 - betelgeuse:improve_simd_gather_documentation, r=Amanieu

Fix simd_gather documentation

There is no idx in the function signature.
This commit is contained in:
Matthias Krüger 2024-06-30 18:25:32 +02:00 committed by GitHub
commit 5f43a89815
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -263,9 +263,6 @@
///
/// `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`.