Skip to content

Commit d5cc65a

Browse files
committed
Allow trait inner attributes
1 parent 5642af8 commit d5cc65a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/items/traits.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
> [_Generics_]<sup>?</sup>
77
> ( `:` [_TypeParamBounds_]<sup>?</sup> )<sup>?</sup>
88
> [_WhereClause_]<sup>?</sup> `{`\
9+
> &nbsp;&nbsp;&nbsp;&nbsp; [_InnerAttribute_]<sup>\*</sup>\
910
> &nbsp;&nbsp;&nbsp;&nbsp; _TraitItem_<sup>\*</sup>\
1011
> &nbsp;&nbsp; `}`
1112
>
@@ -341,6 +342,7 @@ fn main() {
341342
[_Generics_]: generics.md
342343
[_MacroInvocationSemi_]: ../macros.md#macro-invocation
343344
[_OuterAttribute_]: ../attributes.md
345+
[_InnerAttribute_]: ../attributes.md
344346
[_Pattern_]: ../patterns.md
345347
[_SelfParam_]: associated-items.md#methods
346348
[_TypeParamBounds_]: ../trait-bounds.md

0 commit comments

Comments
 (0)