Skip to content

Commit

Permalink
Rollup merge of rust-lang#126895 - betelgeuse:improve_simd_gather_doc…
Browse files Browse the repository at this point in the history
…umentation, r=Amanieu

Fix simd_gather documentation

There is no idx in the function signature.
  • Loading branch information
matthiaskrgr authored Jun 30, 2024
2 parents fb021c1 + dbf7018 commit 3787ac9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions library/core/src/intrinsics/simd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 3787ac9

Please sign in to comment.