about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJeff Olson <olson.jeffery@gmail.com>2012-06-22 21:33:11 -0700
committerBrian Anderson <banderson@mozilla.com>2012-06-29 15:41:56 -0700
commit467e4fba33e10a3a3435b271a116cf7a2eba1637 (patch)
treeabebaac84e658a21f78b0c182797644ae3be7613 /src/libstd
parentcac2a046677439a98fbfb921c60707483e778632 (diff)
WIP set aside unshift
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/net_tcp.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/net_tcp.rs b/src/libstd/net_tcp.rs
index 12ef64bab39..f1436e7c83e 100644
--- a/src/libstd/net_tcp.rs
+++ b/src/libstd/net_tcp.rs
@@ -771,7 +771,9 @@ impl tcp_socket_buf of io::reader for @tcp_socket_buf {
         self.read_bytes(1u)[0] as int
     }
     fn unread_byte(amt: int) {
-        vec::unshift((*self).buf, amt as u8);
+        // FIXME: stubbing this out pending the
+        // return of vec::unshift
+        //vec::unshift((*self).buf, amt as u8);
     }
     fn eof() -> bool {
         false // noop