Fix trailing whitespace issues

This commit is contained in:
a_m0d 2012-11-06 19:16:01 -05:00
parent 59a592f4c4
commit d42cf97bcc

View file

@ -813,12 +813,12 @@ impl TcpSocketBuf: io::Reader {
let mut bytes = ~[0];
if self.read(bytes, 1u) == 0 {
if self.end_of_stream {
-1
-1
} else {
fail
}
} else {
bytes[0] as int
} else {
bytes[0] as int
}
}
fn unread_byte(amt: int) {