File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -997,8 +997,9 @@ impl DocFolder for Cache {
997
997
// Index this method for searching later on
998
998
if let Some ( ref s) = item. name {
999
999
let ( parent, is_method) = match item. inner {
1000
- clean:: AssociatedConstItem ( ..) if self . parent_is_trait_impl => {
1001
- // skip associated consts in trait impls
1000
+ clean:: AssociatedConstItem ( ..) |
1001
+ clean:: TypedefItem ( _, true ) if self . parent_is_trait_impl => {
1002
+ // skip associated items in trait impls
1002
1003
( ( None , None ) , false )
1003
1004
}
1004
1005
clean:: AssociatedTypeItem ( ..) |
@@ -1032,10 +1033,6 @@ impl DocFolder for Cache {
1032
1033
( ( Some ( * last) , path) , true )
1033
1034
}
1034
1035
}
1035
- clean:: TypedefItem ( _, true ) => {
1036
- // skip associated types in impls
1037
- ( ( None , None ) , false )
1038
- }
1039
1036
_ => ( ( None , Some ( & * self . stack ) ) , false )
1040
1037
} ;
1041
1038
let hidden_field = match item. inner {
You can’t perform that action at this time.
0 commit comments