Add explicit lifetimes to borrowed return types (#411)

This commit is contained in:
romanstingler 2025-08-11 22:17:00 +02:00 committed by GitHub
parent a2f1f4b2a0
commit f7033bb043
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -864,7 +864,7 @@ impl Buffer {
}
/// Get the visible layout runs for rendering and other tasks
pub const fn layout_runs(&self) -> LayoutRunIter {
pub fn layout_runs(&self) -> LayoutRunIter<'_> {
LayoutRunIter::new(self)
}