Remove some unnecessary type casts
Conflicts: src/librustc/middle/lint.rs
This commit is contained in:
parent
6be2bc817b
commit
8236550104
13 changed files with 25 additions and 25 deletions
|
@ -209,7 +209,7 @@ impl Reader for StdReader {
|
|||
io_error::cond.raise(standard_error(EndOfFile));
|
||||
None
|
||||
}
|
||||
Ok(amt) => Some(amt as uint),
|
||||
Ok(amt) => Some(amt),
|
||||
Err(e) => {
|
||||
io_error::cond.raise(e);
|
||||
None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue