We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 728f375 commit 45a18aeCopy full SHA for 45a18ae
crates/core_simd/src/masks.rs
@@ -118,8 +118,9 @@ impl_element! { isize, usize }
118
///
119
/// Masks represent boolean inclusion/exclusion on a per-element basis.
120
121
-/// The layout of this type is equivalent to `Simd<T, N>`, but elements
122
-/// are guaranteed to be either 0 or -1.
+/// The layout of this type is unspecified, and may change between platforms
+/// and/or Rust versions, and code should not assume that it is equivalent to
123
+/// `[T; N]`.
124
#[repr(transparent)]
125
pub struct Mask<T, const N: usize>(Simd<T, N>)
126
where
0 commit comments