Skip to content

Commit

Permalink
Merge pull request #864 from matklad/traitinneritems
Browse files Browse the repository at this point in the history
Allow trait inner attributes
  • Loading branch information
ehuss authored Jul 31, 2020
2 parents d4f5bab + d5cc65a commit 0c4059d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/items/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
> [_Generics_]<sup>?</sup>
> ( `:` [_TypeParamBounds_]<sup>?</sup> )<sup>?</sup>
> [_WhereClause_]<sup>?</sup> `{`\
> &nbsp;&nbsp;&nbsp;&nbsp; [_InnerAttribute_]<sup>\*</sup>\
> &nbsp;&nbsp;&nbsp;&nbsp; _TraitItem_<sup>\*</sup>\
> &nbsp;&nbsp; `}`
>
Expand Down Expand Up @@ -341,6 +342,7 @@ fn main() {
[_Generics_]: generics.md
[_MacroInvocationSemi_]: ../macros.md#macro-invocation
[_OuterAttribute_]: ../attributes.md
[_InnerAttribute_]: ../attributes.md
[_Pattern_]: ../patterns.md
[_SelfParam_]: associated-items.md#methods
[_TypeParamBounds_]: ../trait-bounds.md
Expand Down

0 comments on commit 0c4059d

Please sign in to comment.