all: use let chains
This commit is contained in:
parent
3d5d146d65
commit
286857971a
89 changed files with 1516 additions and 1574 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue