Skip to content

Latest commit

 

History

History
8 lines (4 loc) · 173 Bytes

Lifetimes.md

File metadata and controls

8 lines (4 loc) · 173 Bytes

fn iter<'a>(&'a self) -> Iter<'a, T> { // Impl }

Here, if we call this function then reference to the self should be alive till the returned Iter instance stays alive.