Skip to content

Commit

Permalink
Fix trailing whitespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
am0d committed Nov 7, 2012
1 parent 59a592f commit d42cf97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libstd/net_tcp.rs
Expand Up @@ -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) {
Expand Down

0 comments on commit d42cf97

Please sign in to comment.