Skip to content

sunshowers-code/lifetime-variance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rust tutorial to demonstrate how variance works

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Contributors 5