Skip to content

Commit

Permalink
servo: Merge #17785 - Remove explicit lifetime arguments on a method …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
SimonSapin committed Jul 19, 2017
1 parent 07bb88d commit 7e9ce66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servo/components/style/stylesheets/stylesheet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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! {
Expand Down

0 comments on commit 7e9ce66

Please sign in to comment.