about summary refs log tree commit diff
path: root/src/comp/util
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-11 17:13:53 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-12 12:08:27 -0700
commit740196987edf720ee03b7db367106a74fa446356 (patch)
tree406a71f7192e1505b667b9e730402d7b75d331f4 /src/comp/util
parent6050e1d4f6c2fdd412eabbdff864d942bce6e8d7 (diff)
downloadrust-740196987edf720ee03b7db367106a74fa446356.tar.gz
rust-740196987edf720ee03b7db367106a74fa446356.zip
Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytes
Diffstat (limited to 'src/comp/util')
-rw-r--r--src/comp/util/ppaux.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/util/ppaux.rs b/src/comp/util/ppaux.rs
index a598237284b..cf63cacb86d 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_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); }
     }