Merge pull request #252 from taiki-e/transparent

Remove #[repr(transparent)]
This commit is contained in:
Ashley Mannix 2021-08-12 09:31:40 +10:00 committed by GitHub
commit 06a232c28e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,6 @@ macro_rules! bitflags {
$($t:tt)*
) => {
$(#[$outer])*
#[repr(transparent)]
#[derive(Copy, PartialEq, Eq, Clone, PartialOrd, Ord, Hash)]
$vis struct $BitFlags {
bits: $T,