WIP set aside unshift

This commit is contained in:
Jeff Olson 2012-06-22 21:33:11 -07:00 committed by Brian Anderson
parent cac2a04667
commit 467e4fba33

View File

@ -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