Fix trailing whitespace issues
This commit is contained in:
parent
59a592f4c4
commit
d42cf97bcc
1 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue