mirror of
https://github.com/servo/servo.git
synced 2025-08-01 11:40:30 +01:00
style: inline a local-variable which is no longer used more than once.
This commit is contained in:
parent
529f33eb6f
commit
2b94c79d5a
1 changed files with 1 additions and 2 deletions
|
@ -550,8 +550,7 @@ where
|
|||
};
|
||||
|
||||
let combinator = selector_iter.next_sequence();
|
||||
let siblings = combinator.map_or(false, |c| c.is_sibling());
|
||||
if siblings {
|
||||
if combinator.map_or(false, |c| c.is_sibling()) {
|
||||
flags_setter(element, HAS_SLOW_SELECTOR_LATER_SIBLINGS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue