diff options
| author | Petteri Räty <github@petteriraty.eu> | 2024-06-24 11:12:10 +0300 |
|---|---|---|
| committer | Petteri Räty <petteri.raty@experq.com> | 2024-06-24 11:23:01 +0300 |
| commit | dbf701838758bd70d51fa36dcb79e7d02e0e4352 (patch) | |
| tree | ede01c573a8f77203963fc8086230cee1b5541cc /library | |
| parent | 2c243d957008f5909f7a4af19e486ea8a3814be7 (diff) | |
| download | rust-dbf701838758bd70d51fa36dcb79e7d02e0e4352.tar.gz rust-dbf701838758bd70d51fa36dcb79e7d02e0e4352.zip | |
Fix simd_gather documentation
There is no idx in the function signature.
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/intrinsics/simd.rs | 3 |
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`. |
