Introduction
1.
What is a "lifetime"?
Core notions
2.
Case study: the pick() function
3.
Chapter 1
4.
Bar
Reference
5.
Lifetime elision rules
6.
Variance
6.1.
Covariance: when lifetimes can shrink
6.2.
Contravariance: when lifetimes can grow
6.3.
Variance rules: a recap
7.
Lifetime semantics of -> impl Trait
8.
Intersection lifetime
9.
async fn unsugaring / lifetime
Niche stuff
10.
impl<#[may_dangle] …> Drop
11.
Appendix
11.1.
Elided lifetimes / what is '_
11.2.
Trait + 'lifetime
11.3.
Subtyping vs. Coercions
Closing thoughts
Light (default)
Rust
Coal
Navy
Ayu
Rust lifetimes: from 'static to ecstatic
Variance