mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
clippy: Fix needless_lifetimes warning (#32049)
This commit is contained in:
parent
0a860bd928
commit
e8e909b78c
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ pub trait Layout {
|
|||
|
||||
/// Get a reference to this Layout's Stylo `Device` used to handle media queries and
|
||||
/// resolve font metrics.
|
||||
fn device<'a>(&'a self) -> &'a Device;
|
||||
fn device(&self) -> &Device;
|
||||
|
||||
/// Whether or not this layout is waiting for fonts from loaded stylesheets to finish loading.
|
||||
fn waiting_for_web_fonts_to_load(&self) -> bool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue