mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
clippy: Fix collapsible_else_if warnings (#31853)
This commit is contained in:
parent
d814d05539
commit
f8a2eaea47
8 changed files with 37 additions and 52 deletions
|
@ -210,10 +210,8 @@ impl GPUDevice {
|
|||
}
|
||||
}
|
||||
self.try_remove_scope(s_id);
|
||||
} else {
|
||||
if let Err((err, _)) = result {
|
||||
self.fire_uncaptured_error(err);
|
||||
}
|
||||
} else if let Err((err, _)) = result {
|
||||
self.fire_uncaptured_error(err);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue