Skip to content

Commit 6ad03a7

Browse files
committed
simd_shuffle intrinsic: allow argument to be passed as vector (not just as array)
1 parent e3da824 commit 6ad03a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/src/intrinsics/simd.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ extern "rust-intrinsic" {
232232
///
233233
/// `T` must be a vector.
234234
///
235-
/// `U` must be a **const** array of `i32`s. This means it must either refer to a named
235+
/// `U` must be a **const** array or vector of `u32`s. This means it must either refer to a named
236236
/// const or be given as an inline const expression (`const { ... }`).
237237
///
238238
/// `V` must be a vector with the same element type as `T` and the same length as `U`.

0 commit comments

Comments
 (0)