Skip to content

Commit 6212fa2

Browse files
committed
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: rust-lang/rust#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
1 parent a9f9b51 commit 6212fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servo/components/style/stylesheets/stylesheet.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ pub trait StylesheetInDocument {
240240
device: &'a Device,
241241
guard: &'a SharedRwLockReadGuard<'b>
242242
) -> EffectiveRulesIterator<'a, 'b> {
243-
self.iter_rules::<'a, 'b, EffectiveRules>(device, guard)
243+
self.iter_rules::<EffectiveRules>(device, guard)
244244
}
245245

246246
rule_filter! {

0 commit comments

Comments
 (0)