Fix typo typo

This commit is contained in:
Caleb Zulawski 2022-11-12 22:41:44 -05:00
parent c247915eb8
commit 7e614f0438

View File

@ -368,7 +368,7 @@ pub unsafe fn gather_select_unchecked(
unsafe { Self::gather_select_ptr(ptrs, enable, or) }
}
/// Read pointers elementwise into a SIMD vector vector.
/// Read pointers elementwise into a SIMD vector.
///
/// # Safety
///
@ -398,7 +398,7 @@ pub unsafe fn gather_ptr(source: Simd<*const T, LANES>) -> Self
unsafe { Self::gather_select_ptr(source, Mask::splat(true), Self::default()) }
}
/// Conditionally read pointers elementwise into a SIMD vector vector.
/// Conditionally read pointers elementwise into a SIMD vector.
/// The mask `enable`s all `true` lanes and disables all `false` lanes.
/// If a lane is disabled, the lane is selected from the `or` vector and no read is performed.
///
@ -541,7 +541,7 @@ pub unsafe fn scatter_select_unchecked(
}
}
/// Write pointers elementwise into a SIMD vector vector.
/// Write pointers elementwise into a SIMD vector.
///
/// # Safety
///
@ -566,7 +566,7 @@ pub unsafe fn scatter_ptr(self, dest: Simd<*mut T, LANES>) {
unsafe { self.scatter_select_ptr(dest, Mask::splat(true)) }
}
/// Conditionally write pointers elementwise into a SIMD vector vector.
/// Conditionally write pointers elementwise into a SIMD vector.
/// The mask `enable`s all `true` lanes and disables all `false` lanes.
/// If a lane is disabled, the write to that lane is skipped.
///