From 6a3c45eea827681ef1e8895f7714226ead61037e Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 14 Oct 2023 14:00:45 -0700 Subject: [PATCH] Eliminate use of #[cfg_attr(not(doc), repr(transparent))] --- crates/core_simd/src/masks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core_simd/src/masks.rs b/crates/core_simd/src/masks.rs index fea687bdc1a..e04448a50be 100644 --- a/crates/core_simd/src/masks.rs +++ b/crates/core_simd/src/masks.rs @@ -88,7 +88,7 @@ impl_element! { isize } /// 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 /// `[T; LANES]`. -#[cfg_attr(not(doc), repr(transparent))] // work around https://github.com/rust-lang/rust/issues/90435 +#[repr(transparent)] pub struct Mask(mask_impl::Mask) where T: MaskElement,