Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b068fce

Browse files
authoredJun 30, 2024
Rollup merge of rust-lang#126895 - betelgeuse:improve_simd_gather_documentation, r=Amanieu
Fix simd_gather documentation There is no idx in the function signature.
2 parents a6b22e9 + 071e80d commit b068fce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎core/src/intrinsics/simd.rs

-3
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,6 @@ extern "rust-intrinsic" {
263263
///
264264
/// `V` must be a vector of integers with the same length as `T` (but any element size).
265265
///
266-
/// `idx` must be a constant: either naming a constant item, or an inline
267-
/// `const {}` expression.
268-
///
269266
/// For each pointer in `ptr`, if the corresponding value in `mask` is `!0`, read the pointer.
270267
/// Otherwise if the corresponding value in `mask` is `0`, return the corresponding value from
271268
/// `val`.

0 commit comments

Comments
 (0)
Failed to load comments.