Inline attrs
.
This commit is contained in:
parent
c768617f6f
commit
78f83f0b46
1 changed files with 1 additions and 0 deletions
|
@ -279,6 +279,7 @@ macro_rules! impl_has_attrs {
|
|||
impl HasAttrs for $T {
|
||||
const SUPPORTS_CUSTOM_INNER_ATTRS: bool = $inner;
|
||||
|
||||
#[inline]
|
||||
fn attrs(&self) -> &[Attribute] {
|
||||
&self.attrs
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue