From 2f46a0d65ef8adb40a2100435105cdaad201e7b7 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 19 Jul 2017 14:34:33 +0200 Subject: [PATCH] Remove explicit lifetime arguments on a method call. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This causes a warning it today’s Nightly: https://github.com/rust-lang/rust/issues/42868 … which makes the build fail because we use `#![deny(warnings)]`. This warning is planned to become a hard error in a future Rust version. --- components/style/stylesheets/stylesheet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/stylesheets/stylesheet.rs b/components/style/stylesheets/stylesheet.rs index b2595faa8d3..1e1bf4fcadd 100644 --- a/components/style/stylesheets/stylesheet.rs +++ b/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! {