Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytes

This commit is contained in:
Brian Anderson 2011-08-11 17:13:53 -07:00
parent 6050e1d4f6
commit 740196987e
15 changed files with 32 additions and 32 deletions

View file

@ -132,7 +132,7 @@ fn ty_to_str(cx: &ctxt, typ: &t) -> str {
}
ty_var(v) { s += "<T" + int::str(v) + ">"; }
ty_param(id,_) {
s += "'" + str::unsafe_from_bytes_ivec(~[('a' as u8) + (id as u8)]);
s += "'" + str::unsafe_from_bytes(~[('a' as u8) + (id as u8)]);
}
_ { s += ty_to_short_str(cx, typ); }
}