Skip to content

Glossary: Coding Interviews in Rust

Lifetime annotation

Also written: 'a

A Rust label like `'a` stating that a returned value borrows from a particular input. For example, it says a function's result borrows from the `online` slice or the `items` slice.

Where the book teaches it

Related terms

Clone