Small project to somewhat better understand lifetimes.

This small project aims to help understanding how lifetimes work in rust a little better.

Swap branches to see difference without specifying lifetimes, with lifetimes and then a simplified version.

youtube

Heavily inspired by the following video: https://www.youtube.com/watch?v=gRAVZv7V91Q

Description
Small project to somewhat better understand lifetimes. Also see https://www.youtube.com/watch?v=gRAVZv7V91Q
Readme 25 KiB
Languages
Rust 100%