mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Infer types when appropriate
This commit is contained in:
parent
1dfc0481ef
commit
7e786fb8ac
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue