diff options
Diffstat (limited to 'components/script/dom/element.rs')
-rw-r--r-- | components/script/dom/element.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index f1eaae32f40..c86cb2e0a9f 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -3246,7 +3246,7 @@ impl<'a> SelectorsElement for DomRoot<Element> { operation: &AttrSelectorOperation<&AtomString>, ) -> bool { match *ns { - NamespaceConstraint::Specific(ref ns) => self + NamespaceConstraint::Specific(ns) => self .get_attribute(ns, local_name) .map_or(false, |attr| attr.value().eval_selector(operation)), NamespaceConstraint::Any => self.attrs.borrow().iter().any(|attr| { |