File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 55>   ;  ; _ InherentImpl_ | _ TraitImpl_
66>
77> _ InherentImpl_ :\
8- >   ;  ; ` impl ` [ _ GenericsDecl _ ] [ _ Type_ ] [ _ WhereClause_ ] <sup >?</sup > ` { ` \
8+ >   ;  ; ` impl ` [ _ Generics _ ] & nbsp ; [ _ Type_ ] & nbsp ; [ _ WhereClause_ ] <sup >?</sup > ` { ` \
99>   ;  ;   ;  ; [ _ InnerAttribute_ ] <sup >\* </sup >\
1010>   ;  ;   ;  ; _ InherentImplItem_ <sup >\* </sup >\
1111>   ;  ; ` } `
1616>   ;  ; ( [ _ ConstantItem_ ] | _ Method_ )
1717>
1818> _ TraitImpl_ :\
19- >   ;  ; ` unsafe ` <sup >?</sup > ` impl ` [ _ GenericsDecl _ ] ` ! ` <sup >?</sup >
19+ >   ;  ; ` unsafe ` <sup >?</sup > ` impl ` [ _ Generics _ ] ` ! ` <sup >?</sup >
2020> [ _ TypePath_ ] ` for ` [ _ Type_ ] \
2121>   ;  ; [ _ WhereClause_ ] <sup >?</sup >\
2222>   ;  ; ` { ` \
@@ -193,11 +193,10 @@ attributes].
193193[ IDENTIFIER ] : identifiers.html
194194[ _BlockWithInnerAttributes_ ] : items/functions.html
195195[ _ConstantItem_ ] : items/constant-items.html
196- [ _Generics_ ] : items/generics.html
197196[ _FunctionFront_ ] : items/functions.html
198197[ _FunctionParam_ ] : items/functions.html
199198[ _FunctionReturnType_ ] : items/functions.html
200- [ _GenericsDecl_ ] : types .html#type-parameters
199+ [ _Generics_ ] : items/generics .html
201200[ _InnerAttribute_ ] : attributes.html
202201[ _Lifetime_ ] : trait-bounds.html
203202[ _OuterAttribute_ ] : attributes.html
Original file line number Diff line number Diff line change 33> ** <sup >Syntax</sup >** \
44> _ Trait_ :\
55>   ;  ; ` unsafe ` <sup >?</sup > ` trait ` [ IDENTIFIER]   ;
6- > [ _ GenericsDecl _ ] <sup >?</sup >
6+ > [ _ Generics _ ] <sup >?</sup >
77> [ _ WhereClause_ ] <sup >?</sup > ` { ` \
88>   ;  ;  ;  ; _ TraitItem_ <sup >\* </sup >\
99>   ;  ; ` } `
@@ -145,7 +145,7 @@ The [trait implementation] must also include the `unsafe` keyword.
145145
146146[ IDENTIFIER ] : identifiers.html
147147[ _Expression_ ] : expressions.html
148- [ _GenericsDecl_ ] : types .html#type-parameters
148+ [ _Generics_ ] : items/generics .html
149149[ _Method_ ] : items/implementations.html
150150[ _MethodType_ ] : items/implementations.html
151151[ _OuterAttribute_ ] : attributes.html
You can’t perform that action at this time.
0 commit comments