mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
clippy: Fix collapsible_if warnings (#31852)
This commit is contained in:
parent
3d10dbae32
commit
a53632c0e5
11 changed files with 85 additions and 95 deletions
|
@ -2257,10 +2257,8 @@ impl Window {
|
|||
// Step 4 and 5
|
||||
let window_proxy = self.window_proxy();
|
||||
if let Some(active) = window_proxy.currently_active() {
|
||||
if pipeline_id == active {
|
||||
if doc.is_prompting_or_unloading() {
|
||||
return;
|
||||
}
|
||||
if pipeline_id == active && doc.is_prompting_or_unloading() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue