Skip to content

Commit 464cdfc

Browse files
committed
---
yaml --- r: 3308 b: refs/heads/master c: ab98f16 h: refs/heads/master v: v3
1 parent 2e026c2 commit 464cdfc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 8746b84eecb784266c49237ef5159787af4b863d
2+
refs/heads/master: ab98f16373cda61c37be6b69b32511c86eab153c

trunk/src/comp/back/link.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ fn symbol_hash(ty::ctxt tcx, sha1 sha, &ty::t t, str crate_meta_name,
406406
sha.input_str("-");
407407
sha.input_str(crate_meta_name);
408408
sha.input_str("-");
409-
sha.input_str(metadata::Encode::ty_str(cx, t));
409+
sha.input_str(metadata::encode::ty_str(cx, t));
410410
auto hash = truncated_sha1_result(sha);
411411
// Prefix with _ so that it never blends into adjacent digits
412412

trunk/src/comp/middle/metadata.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ type ty_abbrev = rec(uint pos, uint len, str s);
8080

8181
tag abbrev_ctxt { ac_no_abbrevs; ac_use_abbrevs(hashmap[ty::t, ty_abbrev]); }
8282

83-
mod Encode {
83+
mod encode {
8484
type ctxt =
8585
rec(fn(&def_id) -> str ds, // Def -> str Callback:
8686

@@ -454,7 +454,7 @@ fn encode_type(&@trans::crate_ctxt cx, &ebml::writer ebml_w, &ty::t typ) {
454454
auto f = def_to_str;
455455
auto ty_str_ctxt =
456456
@rec(ds=f, tcx=cx.tcx, abbrevs=ac_use_abbrevs(cx.type_abbrevs));
457-
Encode::enc_ty(io::new_writer_(ebml_w.writer), ty_str_ctxt, typ);
457+
encode::enc_ty(io::new_writer_(ebml_w.writer), ty_str_ctxt, typ);
458458
ebml::end_tag(ebml_w);
459459
}
460460

trunk/src/comp/pretty/ppaux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fn ty_to_str(&ctxt cx, &t typ) -> str {
133133
fn ty_to_short_str(&ctxt cx, t typ) -> str {
134134
auto f = def_to_str;
135135
auto ecx = @rec(ds=f, tcx=cx, abbrevs=middle::metadata::ac_no_abbrevs);
136-
auto s = middle::metadata::Encode::ty_str(ecx, typ);
136+
auto s = middle::metadata::encode::ty_str(ecx, typ);
137137
if (str::byte_len(s) >= 32u) { s = str::substr(s, 0u, 32u); }
138138
ret s;
139139
}

0 commit comments

Comments
 (0)