aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/selector_parser.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2019-04-12 13:49:41 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2019-04-12 19:02:07 +0200
commit44163148c2fe2b6b92f1129a493e086ab5594d19 (patch)
tree5972d4108b31821b64d5274185be10b36b1faed0 /components/style/servo/selector_parser.rs
parenta74f5222db7f7f39e426cd0b8836f5b806730ef7 (diff)
downloadservo-44163148c2fe2b6b92f1129a493e086ab5594d19.tar.gz
servo-44163148c2fe2b6b92f1129a493e086ab5594d19.zip
Make use of RefCell::try_borrow_unguarded
Diffstat (limited to 'components/style/servo/selector_parser.rs')
-rw-r--r--components/style/servo/selector_parser.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/style/servo/selector_parser.rs b/components/style/servo/selector_parser.rs
index d839654a65a..2c316b2deed 100644
--- a/components/style/servo/selector_parser.rs
+++ b/components/style/servo/selector_parser.rs
@@ -354,7 +354,6 @@ impl NonTSPseudoClass {
/// selector matching, and it's set from the DOM.
pub fn state_flag(&self) -> ElementState {
use self::NonTSPseudoClass::*;
- use crate::element_state::ElementState;
match *self {
Active => ElementState::IN_ACTIVE_STATE,
Focus => ElementState::IN_FOCUS_STATE,