357 B
357 B
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