Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fearless_simd/src/generated/simd_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2593,11 +2593,11 @@ pub trait SimdBase<S: Simd>:
fn as_mut_slice(&mut self) -> &mut [Self::Element];
#[doc = r" Create a SIMD vector from a slice."]
#[doc = r""]
#[doc = r" The slice must be the proper width."]
#[doc = r" The slice must be exactly the size of the SIMD vector."]
fn from_slice(simd: S, slice: &[Self::Element]) -> Self;
#[doc = r" Store a SIMD vector into a slice."]
#[doc = r""]
#[doc = r" The slice must be the proper width."]
#[doc = r" The slice must be exactly the size of the SIMD vector."]
fn store_slice(&self, slice: &mut [Self::Element]);
#[doc = r" Create a SIMD vector with all elements set to the given value."]
fn splat(simd: S, val: Self::Element) -> Self;
Expand Down
4 changes: 2 additions & 2 deletions fearless_simd_gen/src/mk_simd_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ fn mk_simd_base() -> TokenStream {
fn as_mut_slice(&mut self) -> &mut [Self::Element];
/// Create a SIMD vector from a slice.
///
/// The slice must be the proper width.
/// The slice must be exactly the size of the SIMD vector.
fn from_slice(simd: S, slice: &[Self::Element]) -> Self;
/// Store a SIMD vector into a slice.
///
/// The slice must be the proper width.
/// The slice must be exactly the size of the SIMD vector.
fn store_slice(&self, slice: &mut [Self::Element]);
/// Create a SIMD vector with all elements set to the given value.
fn splat(simd: S, val: Self::Element) -> Self;
Expand Down