[Media] (Beginner) Am I overdoing lifetimes?
![[Media] (Beginner) Am I overdoing lifetimes?](https://i.redd.it/ivpy4hyynlhf1.jpeg)
As the title says, I'm learning rust and this piece of code works. But I just wanna know that am I over doing lifetimes here?
![[Media] (Beginner) Am I overdoing lifetimes?](https://i.redd.it/ivpy4hyynlhf1.jpeg)
As the title says, I'm learning rust and this piece of code works. But I just wanna know that am I over doing lifetimes here?