Skip to content

Commit

Permalink
Remove explicit lifetime arguments on a method call.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SimonSapin committed Jul 19, 2017
1 parent 81f6b9a commit 2f46a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/stylesheets/stylesheet.rs
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 2f46a0d

Please sign in to comment.