@@ -193,6 +193,7 @@ pub trait AnonymousTypeGenerator<'a> {
193
193
fn anonymous_type_option ( & mut self , id : TypeId , ty : & Type , docs : & Docs ) ;
194
194
fn anonymous_type_result ( & mut self , id : TypeId , ty : & Result_ , docs : & Docs ) ;
195
195
fn anonymous_type_list ( & mut self , id : TypeId , ty : & Type , docs : & Docs ) ;
196
+ fn anonymous_type_fixed_size_list ( & mut self , id : TypeId , ty : & Type , size : u32 , docs : & Docs ) ;
196
197
fn anonymous_type_future ( & mut self , id : TypeId , ty : & Option < Type > , docs : & Docs ) ;
197
198
fn anonymous_type_stream ( & mut self , id : TypeId , ty : & Option < Type > , docs : & Docs ) ;
198
199
fn anonymous_type_type ( & mut self , id : TypeId , ty : & Type , docs : & Docs ) ;
@@ -216,7 +217,7 @@ pub trait AnonymousTypeGenerator<'a> {
216
217
TypeDefKind :: Stream ( s) => self . anonymous_type_stream ( id, s, & ty. docs ) ,
217
218
TypeDefKind :: Handle ( handle) => self . anonymous_type_handle ( id, handle, & ty. docs ) ,
218
219
TypeDefKind :: Unknown => unreachable ! ( ) ,
219
- TypeDefKind :: FixedSizeList ( _ , _ ) => todo ! ( ) ,
220
+ TypeDefKind :: FixedSizeList ( t , size ) => self . anonymous_type_fixed_size_list ( id , t , * size , & ty . docs ) ,
220
221
}
221
222
}
222
223
}
0 commit comments