fix non extending attributes

This commit is contained in:
Evan Almloff committed 2023-09-27 10:02:49 -05:00
1 parent 7b51bb8060
commit b60671e0fe
6 files changed
+70 -48

No files matched your search

+7 -2
View File
@@ -111,8 +111,6 @@ macro_rules! impl_element {
}
impl GlobalAttributes for $name {}
impl_extension_attributes![ELEMENT $name { $($fil,)* }];
};
(
@@ -289,6 +287,13 @@ macro_rules! builder_constructors {
}
);
)*
pub(crate) mod extensions {
use super::*;
$(
impl_extension_attributes![ELEMENT $name { $($fil,)* }];
)*
}
};
}