mirror of
https://gitee.com/openharmony/third_party_rust_bitflags
synced 2024-11-26 17:00:54 +00:00
Merge pull request #252 from taiki-e/transparent
Remove #[repr(transparent)]
This commit is contained in:
commit
06a232c28e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user