mirror of
https://gitee.com/openharmony/third_party_rust_bitflags
synced 2024-11-23 07:10:11 +00:00
Remove #[inline]
on consts
This commit is contained in:
parent
564f95f0b7
commit
5853685623
@ -590,7 +590,6 @@ macro_rules! __impl_bitflags {
|
||||
#[allow(non_snake_case)]
|
||||
trait __BitFlags {
|
||||
$(
|
||||
#[inline]
|
||||
const $Flag: $T = 0;
|
||||
)+
|
||||
}
|
||||
@ -598,7 +597,6 @@ macro_rules! __impl_bitflags {
|
||||
$(
|
||||
__impl_bitflags! {
|
||||
#[allow(deprecated)]
|
||||
#[inline]
|
||||
$(? #[$attr $($args)*])*
|
||||
const $Flag: $T = Self::$Flag.bits;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user