From 2b94c79d5a6640e865a287744bfc4065dd191e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 26 Oct 2017 18:31:03 +0200 Subject: [PATCH] style: inline a local-variable which is no longer used more than once. --- components/selectors/matching.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }