Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b368a96e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libbinder_rs: allow attributes for enumerators" am: 77078f73 am: 68b7cdca

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2031663

Change-Id: Ic6df27008b64184a145353ef50efa526b7068831
parents 0cbebac3 68b7cdca
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1086,7 +1086,7 @@ macro_rules! declare_binder_enum {
    {
        $( #[$attr:meta] )*
        $enum:ident : [$backing:ty; $size:expr] {
            $( $name:ident = $value:expr, )*
            $( $( #[$value_attr:meta] )* $name:ident = $value:expr, )*
        }
    } => {
        $( #[$attr] )*
@@ -1094,7 +1094,7 @@ macro_rules! declare_binder_enum {
        #[allow(missing_docs)]
        pub struct $enum(pub $backing);
        impl $enum {
            $( #[allow(missing_docs)] pub const $name: Self = Self($value); )*
            $( $( #[$value_attr] )* #[allow(missing_docs)] pub const $name: Self = Self($value); )*

            #[inline(always)]
            #[allow(missing_docs)]