1
Fork 0

Remove some unnecessary type casts

Conflicts:
	src/librustc/middle/lint.rs
This commit is contained in:
Florian Hahn 2013-12-25 00:53:05 +01:00
parent 6be2bc817b
commit 8236550104
13 changed files with 25 additions and 25 deletions

View file

@ -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