Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRustlifetime annotations on structsSingle-choice MCQ

In this struct, what does the `'a` lifetime guarantee about an `Iterator` instance?

struct Iterator<'a> { slice: &'a [i32], pos: usize, }