mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
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:
parent
81f6b9a1c7
commit
2f46a0d65e
1 changed files with 1 additions and 1 deletions
|
@ -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! {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue