@@ -235,7 +235,7 @@ struct AllTypes {
235
235
traits : FxHashSet < ItemEntry > ,
236
236
macros : FxHashSet < ItemEntry > ,
237
237
functions : FxHashSet < ItemEntry > ,
238
- typedefs : FxHashSet < ItemEntry > ,
238
+ type_aliases : FxHashSet < ItemEntry > ,
239
239
opaque_tys : FxHashSet < ItemEntry > ,
240
240
statics : FxHashSet < ItemEntry > ,
241
241
constants : FxHashSet < ItemEntry > ,
@@ -255,7 +255,7 @@ impl AllTypes {
255
255
traits : new_set ( 100 ) ,
256
256
macros : new_set ( 100 ) ,
257
257
functions : new_set ( 100 ) ,
258
- typedefs : new_set ( 100 ) ,
258
+ type_aliases : new_set ( 100 ) ,
259
259
opaque_tys : new_set ( 100 ) ,
260
260
statics : new_set ( 100 ) ,
261
261
constants : new_set ( 100 ) ,
@@ -279,7 +279,7 @@ impl AllTypes {
279
279
ItemType :: Trait => self . traits . insert ( ItemEntry :: new ( new_url, name) ) ,
280
280
ItemType :: Macro => self . macros . insert ( ItemEntry :: new ( new_url, name) ) ,
281
281
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) ) ,
283
283
ItemType :: OpaqueTy => self . opaque_tys . insert ( ItemEntry :: new ( new_url, name) ) ,
284
284
ItemType :: Static => self . statics . insert ( ItemEntry :: new ( new_url, name) ) ,
285
285
ItemType :: Constant => self . constants . insert ( ItemEntry :: new ( new_url, name) ) ,
@@ -317,7 +317,7 @@ impl AllTypes {
317
317
if !self . functions . is_empty ( ) {
318
318
sections. insert ( ItemSection :: Functions ) ;
319
319
}
320
- if !self . typedefs . is_empty ( ) {
320
+ if !self . type_aliases . is_empty ( ) {
321
321
sections. insert ( ItemSection :: TypeAliases ) ;
322
322
}
323
323
if !self . opaque_tys . is_empty ( ) {
@@ -374,7 +374,7 @@ impl AllTypes {
374
374
print_entries ( f, & self . attribute_macros , ItemSection :: AttributeMacros ) ;
375
375
print_entries ( f, & self . derive_macros , ItemSection :: DeriveMacros ) ;
376
376
print_entries ( f, & self . functions , ItemSection :: Functions ) ;
377
- print_entries ( f, & self . typedefs , ItemSection :: TypeAliases ) ;
377
+ print_entries ( f, & self . type_aliases , ItemSection :: TypeAliases ) ;
378
378
print_entries ( f, & self . trait_aliases , ItemSection :: TraitAliases ) ;
379
379
print_entries ( f, & self . opaque_tys , ItemSection :: OpaqueTypes ) ;
380
380
print_entries ( f, & self . statics , ItemSection :: Statics ) ;
0 commit comments