diff --git a/components/selectors/matching.rs b/components/selectors/matching.rs index b73659b6a53..d55fdae9d90 100644 --- a/components/selectors/matching.rs +++ b/components/selectors/matching.rs @@ -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); }