What was your biggest mistake in Rust 💡and what did you learn from it?

90 points FewInteraction1561 57 comments

Hello everyone,

I’m learning Rust and I’ve noticed that some of the most valuable lessons come from mistakes, the ones that make you stop and go : “Ohhh… that’s why that matters.”

So I wanted to ask:

What’s the biggest mistake you made while working with Rust?
It could be a tricky borrow checker issue, async confusion, lifetime chaos, or just something that seemed small but bit you later.

And most importantly:

What did you take away from it?

Would love to hear your stories 🫂 and maybe avoid a few facepalms myself.