Skip to content

Commit aa7118e

Browse files
Improve generic type name
Co-authored-by: Jubilee <[email protected]>
1 parent 0d1e39d commit aa7118e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/intrinsics/simd.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,14 @@ extern "platform-intrinsic" {
219219
///
220220
/// `U` must be a vector of pointers to the element type of `T`, with the same length as `T`.
221221
///
222-
/// `V` must be a vector of integers with the same length as `T` (but any element size).
222+
/// `M` must be a vector of integers with the same length as `T` (but any element size).
223223
///
224224
/// # Safety
225225
/// Unmasked values in `T` must be writeable as if by `<ptr>::write` (e.g. aligned to the element
226226
/// type).
227227
///
228228
/// `mask` must only contain `0` or `!0` values.
229-
pub fn simd_scatter<T, U, V>(val: T, ptr: U, mask: V);
229+
pub fn simd_scatter<T, U, M>(val: T, ptr: U, mask: M);
230230

231231
/// Add two simd vectors elementwise, with saturation.
232232
///

0 commit comments

Comments
 (0)