diff options
Diffstat (limited to 'components/style/selector_matching.rs')
-rw-r--r-- | components/style/selector_matching.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/style/selector_matching.rs b/components/style/selector_matching.rs index 5963a4b29d5..014ef24e307 100644 --- a/components/style/selector_matching.rs +++ b/components/style/selector_matching.rs @@ -190,7 +190,7 @@ impl Stylist { /// The returned boolean indicates whether the style is *shareable*; that is, whether the /// matched selectors are simple enough to allow the matching logic to be reduced to the logic /// in `css::matching::PrivateMatchMethods::candidate_element_allows_for_style_sharing`. - pub fn push_applicable_declarations<'a,N,V>( + pub fn push_applicable_declarations<N,V>( &self, element: &N, parent_bf: &Option<Box<BloomFilter>>, @@ -198,8 +198,8 @@ impl Stylist { pseudo_element: Option<PseudoElement>, applicable_declarations: &mut V) -> bool - where N: TNode<'a>, - N::Element: TElementAttributes<'a>, + where N: TNode, + N::Element: TElementAttributes, V: VecLike<DeclarationBlock> { assert!(!self.is_dirty); assert!(element.is_element()); |