Add explicit lifetimes to borrowed return types (#411)
This commit is contained in:
parent
a2f1f4b2a0
commit
f7033bb043
2 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue