From d5cc65a70f66a243d84cd251188d80fbe9926747 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 18:12:10 +0200 Subject: [PATCH] Allow trait inner attributes --- src/items/traits.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/items/traits.md b/src/items/traits.md index 1a65c9239..d08f45c6f 100644 --- a/src/items/traits.md +++ b/src/items/traits.md @@ -6,6 +6,7 @@ > [_Generics_]? > ( `:` [_TypeParamBounds_]? )? > [_WhereClause_]? `{`\ +>      [_InnerAttribute_]\*\ >      _TraitItem_\*\ >    `}` > @@ -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