diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2016-06-24 15:01:37 -0700 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2016-07-05 18:03:40 -0700 |
commit | 1d8d1cb9d90e163cfc10328ceed0a2347279eb78 (patch) | |
tree | 7010c14ee8b99dd39e641065dc0c911b97bb1ec2 /components/style/selector_impl.rs | |
parent | 364c8e297607f131468c4def668c7ba9933984e5 (diff) | |
download | servo-1d8d1cb9d90e163cfc10328ceed0a2347279eb78.tar.gz servo-1d8d1cb9d90e163cfc10328ceed0a2347279eb78.zip |
Upgrade rust-selectors.
Diffstat (limited to 'components/style/selector_impl.rs')
-rw-r--r-- | components/style/selector_impl.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/style/selector_impl.rs b/components/style/selector_impl.rs index cf95f4a9048..cd47d0dc7f5 100644 --- a/components/style/selector_impl.rs +++ b/components/style/selector_impl.rs @@ -181,6 +181,7 @@ impl NonTSPseudoClass { pub struct ServoSelectorImpl; impl SelectorImpl for ServoSelectorImpl { + type AttrString = String; type PseudoElement = PseudoElement; type NonTSPseudoClass = NonTSPseudoClass; @@ -278,7 +279,7 @@ impl SelectorImplExt for ServoSelectorImpl { } } -impl<E: Element<Impl=ServoSelectorImpl>> ElementExt for E { +impl<E: Element<Impl=ServoSelectorImpl, AttrString=String>> ElementExt for E { fn is_link(&self) -> bool { self.match_non_ts_pseudo_class(NonTSPseudoClass::AnyLink) } |