Skip to content

Commit cca8d2d

Browse files
committed
---
yaml --- r: 79866 b: refs/heads/master c: 7ae4fd7 h: refs/heads/master v: v3
1 parent 75f650f commit cca8d2d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 8c5402fd36ae3ab0cca55e4c0f62f0f8264a7e3a
2+
refs/heads/master: 7ae4fd75c40b95626ff8ae9ee70da8d86791c949
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 54ae2800ffb30513f89ce13d27ac3c8d095d98ac
55
refs/heads/try: 71bebebc37fbb229877da88dde13c2f35913bd77

trunk/src/librustc/metadata/encoder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ fn encode_parent_item(ebml_w: &mut writer::Encoder, id: DefId) {
307307
ebml_w.end_tag();
308308
}
309309

310-
fn encode_struct_field_names(ecx: &EncodeContext,
310+
fn encode_struct_fields(ecx: &EncodeContext,
311311
ebml_w: &mut writer::Encoder,
312312
def: @struct_def) {
313313
for f in def.fields.iter() {
@@ -364,7 +364,7 @@ fn encode_enum_variant_info(ecx: &EncodeContext,
364364
ast::struct_variant_kind(def) => {
365365
let idx = encode_info_for_struct(ecx, ebml_w, path,
366366
def.fields, index);
367-
encode_struct_field_names(ecx, ebml_w, def);
367+
encode_struct_fields(ecx, ebml_w, def);
368368
let bkts = create_index(idx);
369369
encode_index(ebml_w, bkts, write_i64);
370370
}
@@ -1017,7 +1017,7 @@ fn encode_info_for_item(ecx: &EncodeContext,
10171017
/* Encode def_ids for each field and method
10181018
for methods, write all the stuff get_trait_method
10191019
needs to know*/
1020-
encode_struct_field_names(ecx, ebml_w, struct_def);
1020+
encode_struct_fields(ecx, ebml_w, struct_def);
10211021

10221022
// Encode inherent implementations for this structure.
10231023
encode_inherent_implementations(ecx, ebml_w, def_id);

0 commit comments

Comments
 (0)