servo: Merge #17785 - Remove explicit lifetime arguments on a method call (from servo:future-break); r=nox

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.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9597fec9fa82f4e64c2f28889d6865722cadcd5d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 730cca773decf44383059e9631f37461443aeca4
This commit is contained in:
Simon Sapin 2017-07-19 07:12:36 -07:00
parent 2468edb843
commit 4907b2fe85

View File

@ -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::<EffectiveRules>(device, guard)
}
rule_filter! {