Also, no one really knows rust
Discussion
<'a>&mut fucking shit -> 'a
Fuck kinda syntax is this
Wait till you hear about poisoned mutexes 🤮
‘a like a type signature but instead of tracking the type of data it tracks the lifetime. Usually it's good to be explicit with these when writing functions and data types that access references, otherwise you can run into confusing borrow checker error messages.
I built a entire app in rust without needing to use (manually define) lifetimes. I suspect it’s one of rust’s parts that can be learned later (when you need to use it).
Don’t worry. You’ll hate rust until you love it. Get ChatGPT to explain and illustrate by writing code snippets for you.