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

In a struct that holds a reference, what does the lifetime parameter actually guarantee?

struct Excerpt<'a> { part: &'a str, }