Glossary: Rust Beyond the Basics
lifetime parameter
Also written: 'a, lifetime annotation
A name starting with an apostrophe, usually `'a`, that links the lifetimes of inputs and output, as in `fn longer_name<'a>(a: &'a str, b: &'a str) -> &'a str`. Structs holding references need one too.