style: inline a local-variable which is no longer used more than once.

This commit is contained in:
Emilio Cobos Álvarez 2017-10-26 18:31:03 +02:00
parent 529f33eb6f
commit 2b94c79d5a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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);
}