all: use let chains
This commit is contained in:
parent
3d5d146d65
commit
286857971a
89 changed files with 1516 additions and 1574 deletions
|
|
@ -55,10 +55,10 @@ impl WpDrmLeaseDeviceV1Global {
|
|||
}
|
||||
}
|
||||
for c in dev.connectors.lock().keys() {
|
||||
if let Some(o) = client.state.outputs.get(c) {
|
||||
if o.monitor_info.non_desktop {
|
||||
obj.create_connector(&o);
|
||||
}
|
||||
if let Some(o) = client.state.outputs.get(c)
|
||||
&& o.monitor_info.non_desktop
|
||||
{
|
||||
obj.create_connector(&o);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue