diff options
| author | Caleb Zulawski <caleb.zulawski@gmail.com> | 2023-10-14 17:17:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-14 17:17:29 -0400 |
| commit | d21ba251a11bb3eb2e57d1d8d7fedbc99d698529 (patch) | |
| tree | ad82be7e156726b7fc80ff3a83da6abfd3cf77db | |
| parent | 4825b2a64d765317066948867e8714674419359b (diff) | |
| parent | 6a3c45eea827681ef1e8895f7714226ead61037e (diff) | |
| download | rust-d21ba251a11bb3eb2e57d1d8d7fedbc99d698529.tar.gz rust-d21ba251a11bb3eb2e57d1d8d7fedbc99d698529.zip | |
Merge pull request #370 from dtolnay-contrib/notdoctransparent
Eliminate use of `#[cfg_attr(not(doc), repr(transparent))]`
| -rw-r--r-- | crates/core_simd/src/masks.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T, const LANES: usize>(mask_impl::Mask<T, LANES>) where T: MaskElement, |
