• Stars
    star
    215
  • Rank 183,925 (Top 4 %)
  • Language
    Rust
  • License
    Creative Commons ...
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Rust tutorial to demonstrate how variance works

Lifetime variance in Rust

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

Locations

This document is hosted online at https://lifetime-variance.sunshowers.io. The source is hosted on GitHub.

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

git clone https://github.com/sunshowers-code/lifetime-variance --branch gh-pages

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

Pull requests to fix typos or unclear language are welcome!

License

CC0