mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
Fix trailing whitespace issues
This commit is contained in:
@@ -813,12 +813,12 @@ fn read_byte() -> int {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user