We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7f6aae commit 048264eCopy full SHA for 048264e
crates/core_simd/src/masks.rs
@@ -88,7 +88,7 @@ impl_element! { isize }
88
/// The layout of this type is unspecified, and may change between platforms
89
/// and/or Rust versions, and code should not assume that it is equivalent to
90
/// `[T; LANES]`.
91
-#[repr(transparent)]
+#[cfg_attr(not(doc), repr(transparent))] // work around https://github.com/rust-lang/rust/issues/90435
92
pub struct Mask<T, const LANES: usize>(mask_impl::Mask<T, LANES>)
93
where
94
T: MaskElement,
0 commit comments