Infer types when appropriate

This commit is contained in:
Michael Wu 2015-10-30 15:23:29 -04:00
parent 1dfc0481ef
commit 7e786fb8ac
2 changed files with 3 additions and 3 deletions

View file

@ -881,7 +881,7 @@ impl XMLHttpRequest {
_ => "error",
};
let upload_complete: &Cell<bool> = &self.upload_complete;
let upload_complete = &self.upload_complete;
if !upload_complete.get() {
upload_complete.set(true);
self.dispatch_upload_progress_event("progress".to_owned(), None);