Skip to content

Glossary: Rust Beyond the Basics

lifetime

Also written: lifetimes

How long a reference is valid. Annotations describe how references relate to each other but never make anything live longer.

Where the book teaches it

Related terms

lifetime parameterborrow checker'static