diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-11 17:02:13 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-12 12:08:26 -0700 |
| commit | a9ce342fa384b3c1f86e9b3a80ec7b30a87d2e65 (patch) | |
| tree | 94e3672f0e08e1a56cc4ce44d803f85bf38c892b /src/comp/util | |
| parent | 49b80f9bf7a3d72a58111b9d753a777411c7ad4a (diff) | |
| download | rust-a9ce342fa384b3c1f86e9b3a80ec7b30a87d2e65.tar.gz rust-a9ce342fa384b3c1f86e9b3a80ec7b30a87d2e65.zip | |
Convert all uses of unsafe_from_bytes to unsafe_from_bytes_ivec
Diffstat (limited to 'src/comp/util')
| -rw-r--r-- | src/comp/util/ppaux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/util/ppaux.rs b/src/comp/util/ppaux.rs index 2bdb8742478..a598237284b 100644 --- a/src/comp/util/ppaux.rs +++ b/src/comp/util/ppaux.rs @@ -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); } } |
