@@ -2121,27 +2121,25 @@ impl Clean<Vec<Item>> for doctree::Impl<'_> {
2121
2121
Some ( DefKind :: TyAlias ) => Some ( cx. tcx . type_of ( did) . clean ( cx) ) ,
2122
2122
_ => None ,
2123
2123
} ) ;
2124
- let make_item = |trait_ : Option < Type > , for_ : Type , items : Vec < Item > | {
2125
- Item {
2126
- name : None ,
2127
- attrs : self . attrs . clean ( cx) ,
2128
- source : self . whence . clean ( cx) ,
2129
- def_id,
2130
- visibility : self . vis . clean ( cx) ,
2131
- stability : cx. stability ( self . id ) . clean ( cx) ,
2132
- deprecation : cx. deprecation ( self . id ) . clean ( cx) ,
2133
- inner : ImplItem ( Impl {
2134
- unsafety : self . unsafety ,
2135
- generics : self . generics . clean ( cx) ,
2136
- provided_trait_methods : provided. clone ( ) ,
2137
- trait_,
2138
- for_,
2139
- items,
2140
- polarity : Some ( cx. tcx . impl_polarity ( def_id) . clean ( cx) ) ,
2141
- synthetic : false ,
2142
- blanket_impl : None ,
2143
- } ) ,
2144
- }
2124
+ let make_item = |trait_ : Option < Type > , for_ : Type , items : Vec < Item > | Item {
2125
+ name : None ,
2126
+ attrs : self . attrs . clean ( cx) ,
2127
+ source : self . whence . clean ( cx) ,
2128
+ def_id,
2129
+ visibility : self . vis . clean ( cx) ,
2130
+ stability : cx. stability ( self . id ) . clean ( cx) ,
2131
+ deprecation : cx. deprecation ( self . id ) . clean ( cx) ,
2132
+ inner : ImplItem ( Impl {
2133
+ unsafety : self . unsafety ,
2134
+ generics : self . generics . clean ( cx) ,
2135
+ provided_trait_methods : provided. clone ( ) ,
2136
+ trait_,
2137
+ for_,
2138
+ items,
2139
+ polarity : Some ( cx. tcx . impl_polarity ( def_id) . clean ( cx) ) ,
2140
+ synthetic : false ,
2141
+ blanket_impl : None ,
2142
+ } ) ,
2145
2143
} ;
2146
2144
if let Some ( type_alias) = type_alias {
2147
2145
ret. push ( make_item ( trait_. clone ( ) , type_alias, items. clone ( ) ) ) ;
0 commit comments