about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-11 17:03:23 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-12 12:08:27 -0700
commit6050e1d4f6c2fdd412eabbdff864d942bce6e8d7 (patch)
tree5cc118fd7bde1ae98c2edf85c0952eeee8a06837
parenta9ce342fa384b3c1f86e9b3a80ec7b30a87d2e65 (diff)
downloadrust-6050e1d4f6c2fdd412eabbdff864d942bce6e8d7.tar.gz
rust-6050e1d4f6c2fdd412eabbdff864d942bce6e8d7.zip
Remove std::str::unsafe_from_bytes
-rw-r--r--src/lib/str.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/str.rs b/src/lib/str.rs
index 40d49bc690e..d1f31f3d820 100644
--- a/src/lib/str.rs
+++ b/src/lib/str.rs
@@ -14,7 +14,6 @@ export byte_len;
 export buf;
 export bytes;
 export from_bytes;
-export unsafe_from_bytes;
 export unsafe_from_byte;
 export str_from_cstr;
 export str_from_buf;
@@ -193,11 +192,6 @@ fn bytes(s: str) -> [u8] {
     ret ivec::unsafe::from_buf(ptr, byte_len(s));
 }
 
-// FIXME temp thing
-fn unsafe_from_bytes(v: vec[mutable? u8]) -> str {
-    ret rustrt::str_from_vec(v);
-}
-
 fn unsafe_from_bytes_ivec(v: &[mutable? u8]) -> str {
     ret rustrt::str_from_ivec(v);
 }