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 a9f9b51 commit 6212fa2
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 6212fa2

Please sign in to comment.