@@ -235,7 +235,7 @@ struct AllTypes {
235235 traits : FxHashSet < ItemEntry > ,
236236 macros : FxHashSet < ItemEntry > ,
237237 functions : FxHashSet < ItemEntry > ,
238- typedefs : FxHashSet < ItemEntry > ,
238+ type_aliases : FxHashSet < ItemEntry > ,
239239 opaque_tys : FxHashSet < ItemEntry > ,
240240 statics : FxHashSet < ItemEntry > ,
241241 constants : FxHashSet < ItemEntry > ,
@@ -255,7 +255,7 @@ impl AllTypes {
255255 traits : new_set ( 100 ) ,
256256 macros : new_set ( 100 ) ,
257257 functions : new_set ( 100 ) ,
258- typedefs : new_set ( 100 ) ,
258+ type_aliases : new_set ( 100 ) ,
259259 opaque_tys : new_set ( 100 ) ,
260260 statics : new_set ( 100 ) ,
261261 constants : new_set ( 100 ) ,
@@ -279,7 +279,7 @@ impl AllTypes {
279279 ItemType :: Trait => self . traits . insert ( ItemEntry :: new ( new_url, name) ) ,
280280 ItemType :: Macro => self . macros . insert ( ItemEntry :: new ( new_url, name) ) ,
281281 ItemType :: Function => self . functions . insert ( ItemEntry :: new ( new_url, name) ) ,
282- ItemType :: TypeAlias => self . typedefs . insert ( ItemEntry :: new ( new_url, name) ) ,
282+ ItemType :: TypeAlias => self . type_aliases . insert ( ItemEntry :: new ( new_url, name) ) ,
283283 ItemType :: OpaqueTy => self . opaque_tys . insert ( ItemEntry :: new ( new_url, name) ) ,
284284 ItemType :: Static => self . statics . insert ( ItemEntry :: new ( new_url, name) ) ,
285285 ItemType :: Constant => self . constants . insert ( ItemEntry :: new ( new_url, name) ) ,
@@ -317,7 +317,7 @@ impl AllTypes {
317317 if !self . functions . is_empty ( ) {
318318 sections. insert ( ItemSection :: Functions ) ;
319319 }
320- if !self . typedefs . is_empty ( ) {
320+ if !self . type_aliases . is_empty ( ) {
321321 sections. insert ( ItemSection :: TypeAliases ) ;
322322 }
323323 if !self . opaque_tys . is_empty ( ) {
@@ -374,7 +374,7 @@ impl AllTypes {
374374 print_entries ( f, & self . attribute_macros , ItemSection :: AttributeMacros ) ;
375375 print_entries ( f, & self . derive_macros , ItemSection :: DeriveMacros ) ;
376376 print_entries ( f, & self . functions , ItemSection :: Functions ) ;
377- print_entries ( f, & self . typedefs , ItemSection :: TypeAliases ) ;
377+ print_entries ( f, & self . type_aliases , ItemSection :: TypeAliases ) ;
378378 print_entries ( f, & self . trait_aliases , ItemSection :: TraitAliases ) ;
379379 print_entries ( f, & self . opaque_tys , ItemSection :: OpaqueTypes ) ;
380380 print_entries ( f, & self . statics , ItemSection :: Statics ) ;
0 commit comments