Remove explicit lifetime arguments on a method call.

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.
This commit is contained in:
Simon Sapin 2017-07-19 14:34:33 +02:00
parent 81f6b9a1c7
commit 2f46a0d65e

View file

@ -240,7 +240,7 @@ pub trait StylesheetInDocument {
device: &'a Device, device: &'a Device,
guard: &'a SharedRwLockReadGuard<'b> guard: &'a SharedRwLockReadGuard<'b>
) -> EffectiveRulesIterator<'a, 'b> { ) -> EffectiveRulesIterator<'a, 'b> {
self.iter_rules::<'a, 'b, EffectiveRules>(device, guard) self.iter_rules::<EffectiveRules>(device, guard)
} }
rule_filter! { rule_filter! {