@@ -307,7 +307,7 @@ fn encode_parent_item(ebml_w: &mut writer::Encoder, id: DefId) {
307
307
ebml_w. end_tag ( ) ;
308
308
}
309
309
310
- fn encode_struct_field_names ( ecx : & EncodeContext ,
310
+ fn encode_struct_fields ( ecx : & EncodeContext ,
311
311
ebml_w : & mut writer:: Encoder ,
312
312
def : @struct_def ) {
313
313
for f in def. fields . iter ( ) {
@@ -364,7 +364,7 @@ fn encode_enum_variant_info(ecx: &EncodeContext,
364
364
ast:: struct_variant_kind( def) => {
365
365
let idx = encode_info_for_struct ( ecx, ebml_w, path,
366
366
def. fields , index) ;
367
- encode_struct_field_names ( ecx, ebml_w, def) ;
367
+ encode_struct_fields ( ecx, ebml_w, def) ;
368
368
let bkts = create_index ( idx) ;
369
369
encode_index ( ebml_w, bkts, write_i64) ;
370
370
}
@@ -1017,7 +1017,7 @@ fn encode_info_for_item(ecx: &EncodeContext,
1017
1017
/* Encode def_ids for each field and method
1018
1018
for methods, write all the stuff get_trait_method
1019
1019
needs to know*/
1020
- encode_struct_field_names ( ecx, ebml_w, struct_def) ;
1020
+ encode_struct_fields ( ecx, ebml_w, struct_def) ;
1021
1021
1022
1022
// Encode inherent implementations for this structure.
1023
1023
encode_inherent_implementations ( ecx, ebml_w, def_id) ;
0 commit comments