Lifetime variance in Rust

This document covers the basics of variance in Rust, as it applies to lifetimes, using code examples.


This document is hosted online at The source is hosted on GitHub.

This document is available offline by installing git and running the following command while online.

git clone --branch gh-pages

then pointing your web browser at lifetime-variance/index.html.

Pull requests to fix typos or unclear language are welcome!