diff --git a/servo/components/style/stylesheets/stylesheet.rs b/servo/components/style/stylesheets/stylesheet.rs index 1d0103e02aebf..805a539ef9897 100644 --- a/servo/components/style/stylesheets/stylesheet.rs +++ b/servo/components/style/stylesheets/stylesheet.rs @@ -240,7 +240,7 @@ pub trait StylesheetInDocument { device: &'a Device, guard: &'a SharedRwLockReadGuard<'b> ) -> EffectiveRulesIterator<'a, 'b> { - self.iter_rules::<'a, 'b, EffectiveRules>(device, guard) + self.iter_rules::(device, guard) } rule_filter! {