Convert all uses of unsafe_from_bytes to unsafe_from_bytes_ivec
This commit is contained in:
parent
49b80f9bf7
commit
a9ce342fa3
11 changed files with 27 additions and 31 deletions
|
|
@ -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([('a' as u8) + (id as u8)]);
|
||||
s += "'" + str::unsafe_from_bytes_ivec(~[('a' as u8) + (id as u8)]);
|
||||
}
|
||||
_ { s += ty_to_short_str(cx, typ); }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue