clippy: Fix needless_lifetimes warning (#32049)

This commit is contained in:
Oluwatobi Sofela 2024-04-11 22:43:35 +01:00 committed by GitHub
parent 0a860bd928
commit e8e909b78c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;