Update crates/core_simd/src/swizzle.rs

Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
This commit is contained in:
Caleb Zulawski 2021-10-02 05:07:51 -04:00 committed by Jubilee
parent cd7ecba19f
commit 765bee6362

View file

@ -1,9 +1,7 @@
use crate::simd::intrinsics;
use crate::{LaneCount, Simd, SimdElement, SupportedLaneCount};
/// Rearrange vector elements.
///
/// A new vector is constructed by specifying the the lanes of the source vector or vectors to use.
/// Constructs a new vector by selecting values from the lanes of the source vector or vectors to use.
///
/// When swizzling one vector, the indices of the result vector are indicated by a `const` array
/// of `usize`, like [`Swizzle`].