1
0
Fork 0
forked from wry/wry

all: use let chains

This commit is contained in:
Julian Orth 2025-07-01 11:20:48 +02:00
parent 3d5d146d65
commit 286857971a
89 changed files with 1516 additions and 1574 deletions

View file

@ -340,10 +340,10 @@ impl Parser for ConfigParser<'_> {
}
}
let mut window_management_key = None;
if let Some(value) = window_management_key_val {
if let Some(key) = parse_modified_keysym_str(self.0, value.span, value.value) {
window_management_key = Some(key);
}
if let Some(value) = window_management_key_val
&& let Some(key) = parse_modified_keysym_str(self.0, value.span, value.value)
{
window_management_key = Some(key);
}
let mut vrr = None;
if let Some(value) = vrr_val {