[Media] (Beginner) Am I overdoing lifetimes?

182 points cosmic_predator 79 comments
[Media] (Beginner) Am I overdoing lifetimes?

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?