When you learn about the borrow checker, there's a new concept that you need to get familiar with and that's Lifetimes. I mentioned it briefly in my post on the borrow checker. Now, what are lifetimes?
Lifetimes are how long a reference can live in a...
5 min read
I'm a Software Developer based in Lagos, Nigeria. I use React and Node js. I'm currently learning Rust, join me in my journey.